diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-15 23:16:36 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-15 23:30:32 +0200 |
commit | 0ad58a0a4501e4ee3762479f3d9d501ad85dec6c (patch) | |
tree | 12295e50aac2efd3491b6aca960f891b327a873e /cui | |
parent | 18f3a1a71dfe76987ec8adaa41f6313b68fe2ed2 (diff) |
WarningBox RID_SVX_MSGBOX_LANGUAGE_RESTART to String
As it's like RID_SVX_MSGBOX_LANGUAGE_RESTART
Change-Id: I49c68537c22b348dd165fd1cfb78b67d8f3f7c88
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/cuires.hrc | 2 | ||||
-rw-r--r-- | cui/source/options/optinet2.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optjava.cxx | 5 | ||||
-rw-r--r-- | cui/source/options/optjava.src | 6 |
4 files changed, 6 insertions, 9 deletions
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc index 587857cc7edd..914841c67634 100644 --- a/cui/source/inc/cuires.hrc +++ b/cui/source/inc/cuires.hrc @@ -26,7 +26,7 @@ // Resource-Id's ------------------------------------------------------------ // RID_SVX_START + 0 unused -#define RID_SVX_MSGBOX_OPTIONS_RESTART (RID_SVX_START + 1) +#define RID_SVXSTR_OPTIONS_RESTART (RID_SVX_START + 1) #define RID_SVXSTR_LANGUAGE_RESTART (RID_SVX_START + 2) #define RID_CUIIMG_HARDDISK (RID_SVX_START + 4) diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 46d36f80bbff..02f5bf798ef0 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -776,7 +776,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, CertPathPBHdl) if (nRet == RET_OK && sOrig != mpCertPathDlg->getDirectory()) { - WarningBox aWarnBox(this, CUI_RES(RID_SVX_MSGBOX_OPTIONS_RESTART)); + MessageDialog aWarnBox(this, CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VCL_MESSAGE_INFO); aWarnBox.Execute(); } diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 8f5dfc49339b..92bc52ae8163 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -32,7 +32,6 @@ #include <vcl/help.hxx> #include <tools/urlobj.hxx> #include <vcl/layout.hxx> -#include <vcl/msgbox.hxx> #include <vcl/waitobj.hxx> #include <unotools/pathoptions.hxx> #include <svtools/imagemgr.hxx> @@ -322,7 +321,7 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ParameterHdl_Impl) (void)eErr; if ( bRunning ) { - WarningBox aWarnBox( this, CUI_RES( RID_SVX_MSGBOX_OPTIONS_RESTART ) ); + MessageDialog aWarnBox( this, CUI_RES( RID_SVXSTR_OPTIONS_RESTART ), VCL_MESSAGE_INFO ); aWarnBox.Execute(); } } @@ -367,7 +366,7 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ClassPathHdl_Impl) (void)eErr; if ( bRunning ) { - WarningBox aWarnBox( this, CUI_RES( RID_SVX_MSGBOX_OPTIONS_RESTART ) ); + MessageDialog aWarnBox( this, CUI_RES( RID_SVXSTR_OPTIONS_RESTART ), VCL_MESSAGE_INFO ); aWarnBox.Execute(); } } diff --git a/cui/source/options/optjava.src b/cui/source/options/optjava.src index c98407a5d566..4f273f64afb6 100644 --- a/cui/source/options/optjava.src +++ b/cui/source/options/optjava.src @@ -30,11 +30,9 @@ String RID_SVXSTR_JRE_FAILED_VERSION Text [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ; }; -WarningBox RID_SVX_MSGBOX_OPTIONS_RESTART +String RID_SVXSTR_OPTIONS_RESTART { - BUTTONS = WB_OK ; - DEFBUTTON = WB_DEF_OK ; - Message [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ; + Text [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |