Kaydet (Commit) d0c3c16c authored tarafından Caolán McNamara's avatar Caolán McNamara

convert SV_EDIT_WARNING_BOX to MessageDialog + string

Change-Id: Ie3ceba0e3fa54b6aac7aca844588ed69063af02e
üst c407e548
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
#define SV_PRINT_INVALID_TXT 10616 #define SV_PRINT_INVALID_TXT 10616
#define SV_PRINT_CUSTOM_TXT 10617 #define SV_PRINT_CUSTOM_TXT 10617
#define SV_EDIT_WARNING_BOX 10650 #define SV_EDIT_WARNING_STR 10650
#define SV_FUNIT_STRINGS 10700 #define SV_FUNIT_STRINGS 10700
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
#include <vcl/virdev.hxx> #include <vcl/virdev.hxx>
#include <vcl/menu.hxx> #include <vcl/menu.hxx>
#include <vcl/edit.hxx> #include <vcl/edit.hxx>
#include <vcl/layout.hxx>
#include <vcl/svapp.hxx> #include <vcl/svapp.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/settings.hxx> #include <vcl/settings.hxx>
#include <window.h> #include <window.h>
...@@ -791,7 +791,7 @@ void Edit::ShowTruncationWarning( Window* pParent ) ...@@ -791,7 +791,7 @@ void Edit::ShowTruncationWarning( Window* pParent )
ResMgr* pResMgr = ImplGetResMgr(); ResMgr* pResMgr = ImplGetResMgr();
if( pResMgr ) if( pResMgr )
{ {
WarningBox aBox( pParent, ResId( SV_EDIT_WARNING_BOX, *pResMgr ) ); MessageDialog aBox(pParent, ResId(SV_EDIT_WARNING_STR, *pResMgr), VCL_MESSAGE_WARNING);
aBox.Execute(); aBox.Execute();
} }
} }
......
...@@ -49,9 +49,9 @@ String SV_STDTEXT_PREFERENCES ...@@ -49,9 +49,9 @@ String SV_STDTEXT_PREFERENCES
Text [ en-US ] = "Preferences..."; Text [ en-US ] = "Preferences...";
}; };
WarningBox SV_EDIT_WARNING_BOX String SV_EDIT_WARNING_STR
{ {
Message [en-US] = "The inserted text exceeded the maximum length of this text field. The text was truncated."; Text [en-US] = "The inserted text exceeded the maximum length of this text field. The text was truncated.";
}; };
String SV_MAC_SCREENNNAME String SV_MAC_SCREENNNAME
......
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