summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-18 02:17:38 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-18 02:18:20 +0200
commit06a485f02b544ff87a023fe885736e35074bfc40 (patch)
treea7596ff699bc08bbeb47b27b9e2faab4526cb9b4 /cui
parentiahndl: do lazy replacement (diff)
downloadcore-06a485f02b544ff87a023fe885736e35074bfc40.tar.gz
core-06a485f02b544ff87a023fe885736e35074bfc40.zip
InfoBox IBX_MNUCFG_ALREADY_INCLUDED to String
Change-Id: I343948a9a5e093f210cae1049caa92eeb614a2d7
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx5
-rw-r--r--cui/source/customize/cfg.hrc1
-rw-r--r--cui/source/customize/cfg.src4
-rw-r--r--cui/source/inc/cuires.hrc1
4 files changed, 6 insertions, 5 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 8d10cce954fd..79dba76a9819 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -24,6 +24,7 @@
#include <time.h>
#include <vcl/help.hxx>
+#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/decoview.hxx>
#include <vcl/toolbox.hxx>
@@ -2085,8 +2086,8 @@ IMPL_LINK( SvxConfigPage, AsyncInfoMsg, OUString*, pMsg )
(void)pMsg;
// Asynchronous msg because of D&D
- InfoBox( this, CUI_RES(
- IBX_MNUCFG_ALREADY_INCLUDED ) ).Execute();
+ MessageDialog( this, CUI_RES(
+ RID_SVXSTR_MNUCFG_ALREADY_INCLUDED ), VCL_MESSAGE_INFO ).Execute();
return 0;
}
diff --git a/cui/source/customize/cfg.hrc b/cui/source/customize/cfg.hrc
index f09ba6ab3608..0ba1be129f11 100644
--- a/cui/source/customize/cfg.hrc
+++ b/cui/source/customize/cfg.hrc
@@ -37,7 +37,6 @@
#define MODIFY_TOOLBAR (60 + CFG_OFFSET)
#define MODIFY_TOOLBAR_CONTENT (61 + CFG_OFFSET)
-#define IBX_MNUCFG_ALREADY_INCLUDED (63 + CFG_OFFSET)
#define QBX_CONFIRM_RESET (64 + CFG_OFFSET)
#define QBX_CONFIRM_DELETE_MENU (65 + CFG_OFFSET)
#define QBX_CONFIRM_RESTORE_DEFAULT (66 + CFG_OFFSET)
diff --git a/cui/source/customize/cfg.src b/cui/source/customize/cfg.src
index 29cf68c78170..1c3317e81fa9 100644
--- a/cui/source/customize/cfg.src
+++ b/cui/source/customize/cfg.src
@@ -263,9 +263,9 @@ QueryBox QBX_CONFIRM_RESTORE_DEFAULT
DEFBUTTON = WB_DEF_NO ;
};
-InfoBox IBX_MNUCFG_ALREADY_INCLUDED
+String RID_SVXSTR_MNUCFG_ALREADY_INCLUDED
{
- Message [ en-US ] = "Function is already included in this popup." ;
+ Text [ en-US ] = "Function is already included in this popup." ;
};
String RID_SVXSTR_LABEL_NEW_NAME
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index f14d8e973bd3..a948b277ff84 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -179,6 +179,7 @@
#define RID_SVXSTR_HYPDLG_MACROACT3 (RID_SVX_START + 552)
#define RID_SVXSTR_HYPERDLG_FORM_BUTTON (RID_SVX_START + 813)
#define RID_SVXSTR_HYPERDLG_FROM_TEXT (RID_SVX_START + 814)
+#define RID_SVXSTR_MNUCFG_ALREADY_INCLUDED (RID_SVX_START + 816)
// icon choice
#define RID_SVXSTR_ICONCHOICEDLG_RESETBUT (RID_SVX_START + 580)