diff options
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r-- | dbaccess/source/ui/browser/brwctrlr.cxx | 5 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/sbabrw.src | 7 |
2 files changed, 3 insertions, 9 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index 328d0eef5d38..e275b7daa573 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -83,7 +83,6 @@ #include <tools/diagnose_ex.h> #include <osl/diagnose.h> #include <vcl/layout.hxx> -#include <vcl/msgbox.hxx> #include <vcl/waitobj.hxx> using namespace ::com::sun::star; @@ -2173,7 +2172,9 @@ bool SbaXDataBrowserController::SaveModified(sal_Bool bAskFor) { getBrowserView()->getVclControl()->GrabFocus(); - QueryBox aQry(getBrowserView()->getVclControl(), ModuleRes(QUERY_BRW_SAVEMODIFIED)); + MessageDialog aQry(getBrowserView()->getVclControl(), + "SaveModifiedDialog", + "dbaccess/ui/savemodifieddialog.ui"); switch (aQry.Execute()) { diff --git a/dbaccess/source/ui/browser/sbabrw.src b/dbaccess/source/ui/browser/sbabrw.src index 4e304e2ddd30..01888a4ed425 100644 --- a/dbaccess/source/ui/browser/sbabrw.src +++ b/dbaccess/source/ui/browser/sbabrw.src @@ -22,13 +22,6 @@ #include <svx/globlmn.hrc> #include "toolbox.hrc" -QueryBox QUERY_BRW_SAVEMODIFIED -{ - Buttons = WB_YES_NO_CANCEL ; - DefButton = WB_DEF_YES ; - Message [ en-US ] = "The current record has been changed.\nDo you want to save the changes?" ; -}; - String STR_QUERY_BRW_DELETE_ROWS { Text[ en-US ] = "Do you want to delete the selected data?" ; |