summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/dochdl.hrc1
-rw-r--r--sw/source/ui/dochdl/dochdl.src5
-rw-r--r--sw/source/uibase/dochdl/gloshdl.cxx3
-rw-r--r--sw/source/uibase/uiview/view.hrc4
-rw-r--r--sw/source/uibase/uiview/view.src4
5 files changed, 6 insertions, 11 deletions
diff --git a/sw/inc/dochdl.hrc b/sw/inc/dochdl.hrc
index fb59d4ce0475..0372003d5139 100644
--- a/sw/inc/dochdl.hrc
+++ b/sw/inc/dochdl.hrc
@@ -23,7 +23,6 @@
#include "rcid.hrc"
#define STR_NOGLOS (RC_DOCHDL_BEGIN + 1)
-#define MSG_ERR_INSERT_GLOS (RC_DOCHDL_BEGIN + 3)
#define STR_CLPBRD_FORMAT_ERROR (RC_DOCHDL_BEGIN + 4)
#define STR_NO_TABLE (RC_DOCHDL_BEGIN + 7)
diff --git a/sw/source/ui/dochdl/dochdl.src b/sw/source/ui/dochdl/dochdl.src
index 30e92f46bc66..1cecbbf322df 100644
--- a/sw/source/ui/dochdl/dochdl.src
+++ b/sw/source/ui/dochdl/dochdl.src
@@ -29,11 +29,6 @@ String STR_NO_TABLE
Text [ en-US ] = "A table cannot be inserted into another table. However, you can paste the data into the document when the cursor is not in a table.";
};
-InfoBox MSG_ERR_INSERT_GLOS
-{
- Message [ en-US ] = "AutoText could not be created." ;
-};
-
String STR_CLPBRD_FORMAT_ERROR
{
Text [ en-US ] = "Requested clipboard format is not available." ;
diff --git a/sw/source/uibase/dochdl/gloshdl.cxx b/sw/source/uibase/dochdl/gloshdl.cxx
index 3ab01b141698..686efcd60b94 100644
--- a/sw/source/uibase/dochdl/gloshdl.cxx
+++ b/sw/source/uibase/dochdl/gloshdl.cxx
@@ -50,6 +50,7 @@
#include <dochdl.hrc>
#include <swerror.h>
#include <frmmgr.hxx>
+#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
#include <editeng/acorrcfg.hxx>
@@ -331,7 +332,7 @@ bool SwGlossaryHdl::NewGlossary(const OUString& rName, const OUString& rShortNam
rCfg.IsSaveRelFile(), pOnlyTxt );
if(nSuccess == (sal_uInt16) -1 )
{
- InfoBox(pWrtShell->GetView().GetWindow(), SW_RES(MSG_ERR_INSERT_GLOS)).Execute();
+ MessageDialog(pWrtShell->GetView().GetWindow(), SW_RES(STR_ERR_INSERT_GLOS), VCL_MESSAGE_INFO).Execute();
}
if( !pCurGrp )
rStatGlossaries.PutGroupDoc( pTmp );
diff --git a/sw/source/uibase/uiview/view.hrc b/sw/source/uibase/uiview/view.hrc
index aa55887e0f6a..b90d5dae054b 100644
--- a/sw/source/uibase/uiview/view.hrc
+++ b/sw/source/uibase/uiview/view.hrc
@@ -50,9 +50,9 @@
#define STR_SAVEACOPY_SRC (RC_VIEW_BEGIN + 34)
-// MSG
+#define STR_ERR_INSERT_GLOS (RC_VIEW_BEGIN + 35)
-#define MSG_ERR_INSERT_GLOS (RC_VIEW_BEGIN)
+// MSG
#define MSG_ERR_NO_FAX (RC_VIEW_BEGIN + 5)
#define MSG_ERR_SRCSTREAM (RC_VIEW_BEGIN + 6)
diff --git a/sw/source/uibase/uiview/view.src b/sw/source/uibase/uiview/view.src
index 17794b074479..e85ad5dd7209 100644
--- a/sw/source/uibase/uiview/view.src
+++ b/sw/source/uibase/uiview/view.src
@@ -36,9 +36,9 @@ InfoBox MSG_NO_MERGE_ENTRY
{
Message [ en-US ] = "Could not merge documents." ;
};
-InfoBox MSG_ERR_INSERT_GLOS
+String STR_ERR_INSERT_GLOS
{
- Message [ en-US ] = "AutoText could not be created." ;
+ Text [ en-US ] = "AutoText could not be created." ;
};
InfoBox MSG_ERR_SRCSTREAM
{