Kaydet (Commit) 15344d04 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

InfoBox MSG_ERR_INSERT_GLOS to String

Change-Id: Ie72cb6796e3996d7050b771f7ab92e4ab5a6d72b
üst 94cbfebd
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "rcid.hrc" #include "rcid.hrc"
#define STR_NOGLOS (RC_DOCHDL_BEGIN + 1) #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_CLPBRD_FORMAT_ERROR (RC_DOCHDL_BEGIN + 4)
#define STR_NO_TABLE (RC_DOCHDL_BEGIN + 7) #define STR_NO_TABLE (RC_DOCHDL_BEGIN + 7)
......
...@@ -29,11 +29,6 @@ String STR_NO_TABLE ...@@ -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."; 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 String STR_CLPBRD_FORMAT_ERROR
{ {
Text [ en-US ] = "Requested clipboard format is not available." ; Text [ en-US ] = "Requested clipboard format is not available." ;
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include <dochdl.hrc> #include <dochdl.hrc>
#include <swerror.h> #include <swerror.h>
#include <frmmgr.hxx> #include <frmmgr.hxx>
#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx> #include <vcl/lstbox.hxx>
#include <editeng/acorrcfg.hxx> #include <editeng/acorrcfg.hxx>
...@@ -331,7 +332,7 @@ bool SwGlossaryHdl::NewGlossary(const OUString& rName, const OUString& rShortNam ...@@ -331,7 +332,7 @@ bool SwGlossaryHdl::NewGlossary(const OUString& rName, const OUString& rShortNam
rCfg.IsSaveRelFile(), pOnlyTxt ); rCfg.IsSaveRelFile(), pOnlyTxt );
if(nSuccess == (sal_uInt16) -1 ) 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 ) if( !pCurGrp )
rStatGlossaries.PutGroupDoc( pTmp ); rStatGlossaries.PutGroupDoc( pTmp );
......
...@@ -50,9 +50,9 @@ ...@@ -50,9 +50,9 @@
#define STR_SAVEACOPY_SRC (RC_VIEW_BEGIN + 34) #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_NO_FAX (RC_VIEW_BEGIN + 5)
#define MSG_ERR_SRCSTREAM (RC_VIEW_BEGIN + 6) #define MSG_ERR_SRCSTREAM (RC_VIEW_BEGIN + 6)
......
...@@ -36,9 +36,9 @@ InfoBox MSG_NO_MERGE_ENTRY ...@@ -36,9 +36,9 @@ InfoBox MSG_NO_MERGE_ENTRY
{ {
Message [ en-US ] = "Could not merge documents." ; 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 InfoBox MSG_ERR_SRCSTREAM
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment