summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-18 03:18:20 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-18 03:18:20 +0200
commitd18c577162efa7bcef98d1c2ae4498b334c1c04c (patch)
tree19e99d6ec5c75252267e8693943b30b2b3cd7079 /sw
parentcf65baa920e67578f706750989a8686220e36c14 (diff)
InfoBox STR_SRTERR to String
Change-Id: Ic3b7de3d26e91b260d775e629602758f63a40b85
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/misc/srtdlg.cxx3
-rw-r--r--sw/source/ui/misc/srtdlg.src6
-rw-r--r--sw/source/uibase/inc/misc.hrc2
3 files changed, 5 insertions, 6 deletions
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index f5f05dd46673..3129703f055b 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -19,6 +19,7 @@
#include "srtdlg.hxx"
+#include <vcl/listbox.hxx>
#include <vcl/msgbox.hxx>
#include <svl/intitem.hxx>
#include <svl/eitem.hxx>
@@ -351,7 +352,7 @@ void SwSortDlg::Apply()
}
if( !bRet )
- InfoBox( this->GetParent(), SW_RES(MSG_SRTERR)).Execute();
+ MessageDialog( this->GetParent(), SW_RES(STR_SRTERR), VCL_MESSAGE_INFO).Execute();
}
IMPL_LINK( SwSortDlg, DelimHdl, RadioButton*, pButton )
diff --git a/sw/source/ui/misc/srtdlg.src b/sw/source/ui/misc/srtdlg.src
index ad8f149f393a..82ea0dc570f5 100644
--- a/sw/source/ui/misc/srtdlg.src
+++ b/sw/source/ui/misc/srtdlg.src
@@ -21,11 +21,9 @@
#include "cmdid.h"
#include "helpid.h"
-InfoBox MSG_SRTERR
+String STR_SRTERR
{
- BUTTONS = WB_OK ;
- DEFBUTTON = WB_DEF_OK ;
- Message [ en-US ] = "Cannot sort selection" ;
+ Text [ en-US ] = "Cannot sort selection" ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/misc.hrc b/sw/source/uibase/inc/misc.hrc
index dac7b9722db8..eb553dc459b1 100644
--- a/sw/source/uibase/inc/misc.hrc
+++ b/sw/source/uibase/inc/misc.hrc
@@ -34,7 +34,7 @@
#define STR_QUERY_DELETE_GROUP2 (RC_MISC_BEGIN + 33)
#define STR_NO_GLOSSARIES (RC_MISC_BEGIN + 34)
-#define MSG_SRTERR (RC_MISC_BEGIN + 42)
+#define STR_SRTERR (RC_MISC_BEGIN + 42)
#define STR_GLOSSARY (RC_MISC_BEGIN + 43)
#define STR_CHANGE_START (RC_MISC_BEGIN + 44)