Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2b65832b
Kaydet (Commit)
2b65832b
authored
Agu 21, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
QueryBox QUERY_BRW_DELETE_ROWS -> MessageDialog + string
Change-Id: Ifb6fb8a09cda0c868a3b4f510f6b04665cfe7597
üst
54758555
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
brwctrlr.cxx
dbaccess/source/ui/browser/brwctrlr.cxx
+2
-1
sbabrw.src
dbaccess/source/ui/browser/sbabrw.src
+2
-3
dbu_resource.hrc
dbaccess/source/ui/inc/dbu_resource.hrc
+2
-3
No files found.
dbaccess/source/ui/browser/brwctrlr.cxx
Dosyayı görüntüle @
2b65832b
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
#include <svx/svxdlg.hxx>
#include <svx/svxdlg.hxx>
#include <tools/diagnose_ex.h>
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
#include <osl/diagnose.h>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/waitobj.hxx>
#include <vcl/waitobj.hxx>
...
@@ -1386,7 +1387,7 @@ void SbaXDataBrowserController::resetted(const ::com::sun::star::lang::EventObje
...
@@ -1386,7 +1387,7 @@ void SbaXDataBrowserController::resetted(const ::com::sun::star::lang::EventObje
sal_Bool
SbaXDataBrowserController
::
confirmDelete
(
const
::
com
::
sun
::
star
::
sdb
::
RowChangeEvent
&
/*aEvent*/
)
throw
(
RuntimeException
,
std
::
exception
)
sal_Bool
SbaXDataBrowserController
::
confirmDelete
(
const
::
com
::
sun
::
star
::
sdb
::
RowChangeEvent
&
/*aEvent*/
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
if
(
QueryBox
(
getBrowserView
(),
ModuleRes
(
QUERY_BRW_DELETE_ROWS
)
).
Execute
()
!=
RET_YES
)
if
(
MessageDialog
(
getBrowserView
(),
ModuleRes
(
STR_QUERY_BRW_DELETE_ROWS
),
VCL_MESSAGE_QUESTION
,
VCL_BUTTONS_YES_NO
).
Execute
()
!=
RET_YES
)
return
sal_False
;
return
sal_False
;
return
sal_True
;
return
sal_True
;
...
...
dbaccess/source/ui/browser/sbabrw.src
Dosyayı görüntüle @
2b65832b
...
@@ -29,10 +29,9 @@ QueryBox QUERY_BRW_SAVEMODIFIED
...
@@ -29,10 +29,9 @@ QueryBox QUERY_BRW_SAVEMODIFIED
Message [ en-US ] = "The current record has been changed.\nDo you want to save the changes?" ;
Message [ en-US ] = "The current record has been changed.\nDo you want to save the changes?" ;
};
};
QueryBox
QUERY_BRW_DELETE_ROWS
String STR_
QUERY_BRW_DELETE_ROWS
{
{
Buttons = WB_YES_NO ;
Text[ en-US ] = "Do you want to delete the selected data?" ;
Message [ en-US ] = "Do you want to delete the selected data?" ;
};
};
String RID_STR_DATABROWSER_FILTERED
String RID_STR_DATABROWSER_FILTERED
...
...
dbaccess/source/ui/inc/dbu_resource.hrc
Dosyayı görüntüle @
2b65832b
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
#define RID_STR_UNO_END RID_STR_UNO_START + 20 // 414 - 433
#define RID_STR_UNO_END RID_STR_UNO_START + 20 // 414 - 433
#define RID_STR_GEN_START RID_STR_UNO_END
#define RID_STR_GEN_START RID_STR_UNO_END
#define RID_STR_GEN_END RID_STR_GEN_START + 6
1
// 434 - 493
#define RID_STR_GEN_END RID_STR_GEN_START + 6
2
// 434 - 493
#define RID_STR_APP_START RID_STR_GEN_END
#define RID_STR_APP_START RID_STR_GEN_END
#define RID_STR_APP_END RID_STR_APP_START + 40 // 494 - 533
#define RID_STR_APP_END RID_STR_APP_START + 40 // 494 - 533
...
@@ -100,7 +100,6 @@
...
@@ -100,7 +100,6 @@
// query boxes
// query boxes
#define QUERY_BRW_DELETE_ROWS RID_QUERYBOX_START + 0
#define QUERY_BRW_SAVEMODIFIED RID_QUERYBOX_START + 1
#define QUERY_BRW_SAVEMODIFIED RID_QUERYBOX_START + 1
#define QUERY_CONNECTION_LOST RID_QUERYBOX_START + 2
#define QUERY_CONNECTION_LOST RID_QUERYBOX_START + 2
#define TABLE_DESIGN_SAVEMODIFIED RID_QUERYBOX_START + 5
#define TABLE_DESIGN_SAVEMODIFIED RID_QUERYBOX_START + 5
...
@@ -223,7 +222,7 @@
...
@@ -223,7 +222,7 @@
#define STR_QRY_ORDERBY_ON_ASTERISK RID_STR_GEN_START + 58
#define STR_QRY_ORDERBY_ON_ASTERISK RID_STR_GEN_START + 58
#define STR_NEED_INDEX_FIELDS RID_STR_GEN_START + 59
#define STR_NEED_INDEX_FIELDS RID_STR_GEN_START + 59
#define STR_QUERY_CLOSEDOCUMENTS RID_STR_GEN_START + 60
#define STR_QUERY_CLOSEDOCUMENTS RID_STR_GEN_START + 60
#define STR_QUERY_BRW_DELETE_ROWS RID_STR_GEN_START + 61
// untyped resources
// untyped resources
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment