summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx4
-rw-r--r--cui/source/customize/cfg.hrc2
-rw-r--r--cui/source/customize/cfg.src6
-rw-r--r--cui/source/inc/cuires.hrc1
4 files changed, 5 insertions, 8 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 21fced93706c..34edd30e19e5 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -3075,8 +3075,8 @@ IMPL_LINK( SvxToolbarConfigPage, ToolbarSelectHdl, MenuButton *, pButton )
}
case ID_DEFAULT_STYLE:
{
- QueryBox qbox( this,
- CUI_RES( QBX_CONFIRM_RESTORE_DEFAULT ) );
+ MessageDialog qbox(this,
+ CUI_RES(RID_SVXSTR_CONFIRM_RESTORE_DEFAULT), VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO);
if ( qbox.Execute() == RET_YES )
{
diff --git a/cui/source/customize/cfg.hrc b/cui/source/customize/cfg.hrc
index 5fc6d73d9dd5..6a837139e858 100644
--- a/cui/source/customize/cfg.hrc
+++ b/cui/source/customize/cfg.hrc
@@ -37,6 +37,4 @@
#define MODIFY_TOOLBAR (60 + CFG_OFFSET)
#define MODIFY_TOOLBAR_CONTENT (61 + CFG_OFFSET)
-#define QBX_CONFIRM_RESTORE_DEFAULT (66 + CFG_OFFSET)
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/customize/cfg.src b/cui/source/customize/cfg.src
index 08f1c7208556..fed45bd2b405 100644
--- a/cui/source/customize/cfg.src
+++ b/cui/source/customize/cfg.src
@@ -236,11 +236,9 @@ String RID_SVXSTR_CONFIRM_TOOLBAR_RESET
Text [ en-US ] = "The toolbar configuration for %SAVE IN SELECTION% will be reset to the default settings. Do you want to continue?";
};
-QueryBox QBX_CONFIRM_RESTORE_DEFAULT
+String RID_SVXSTR_CONFIRM_RESTORE_DEFAULT
{
- Message [ en-US ] = "This will delete all changes previously made to this toolbar. Do you really want to reset the toolbar?";
- BUTTONS = WB_YES_NO ;
- DEFBUTTON = WB_DEF_NO ;
+ Text [ en-US ] = "This will delete all changes previously made to this toolbar. Do you really want to reset the toolbar?";
};
String RID_SVXSTR_MNUCFG_ALREADY_INCLUDED
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index b0e48e5f1b14..ca444371bb0e 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -409,6 +409,7 @@
#define RID_SVXSTR_APPLYPERSONA (RID_SVX_START + 1282)
#define RID_SXVSTR_CONFIRM_DELETE_TOOLBAR (RID_SVX_START + 1283)
+#define RID_SVXSTR_CONFIRM_RESTORE_DEFAULT (RID_SVX_START + 1284)
#endif