Kaydet (Commit) 4ca5a663 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

InfoBox MSG_CANT_QUIT to String

Change-Id: I68fed7d2f0eea7fde60707e48349230d8a8d5c73
üst 06a485f0
......@@ -21,11 +21,9 @@
#include <sfx2/sfx.hrc>
// #defines *****************************************************************
#define STR_NO_WEBBROWSER_FOUND (RID_SFX_APP_START+7)
#define STR_NO_ABS_URI_REF (RID_SFX_APP_START+8)
#define MSG_CANT_QUIT (RID_SFX_APP_START+10)
#define STR_CANT_QUIT (RID_SFX_APP_START+10)
#define STR_ISMODIFIED (RID_SFX_APP_START+11)
#define RID_FULLSCREENTOOLBOX (RID_SFX_APP_START+42)
......
......@@ -205,9 +205,9 @@ String GID_CONTROLS
Text [ en-US ] = "Controls" ;
};
InfoBox MSG_CANT_QUIT
String STR_CANT_QUIT
{
Message [ en-US ] = "The application cannot be terminated at the moment.\nPlease wait until all print jobs and/or\nOLE actions have finished and close all dialogs." ;
Text [ en-US ] = "The application cannot be terminated at the moment.\nPlease wait until all print jobs and/or\nOLE actions have finished and close all dialogs." ;
};
String STR_ISMODIFIED
......
......@@ -21,7 +21,7 @@
#include <basic/sbstar.hxx>
#include <svl/svdde.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/layout.hxx>
#include <svl/eitem.hxx>
#include <unotools/saveopt.hxx>
......@@ -65,7 +65,7 @@ bool SfxApplication::QueryExit_Impl()
if ( !bQuit )
{
// Not really exit, only minimize
InfoBox aInfoBox( NULL, SfxResId(MSG_CANT_QUIT) );
MessageDialog aInfoBox( NULL, SfxResId(STR_CANT_QUIT), VCL_MESSAGE_INFO );
aInfoBox.Execute();
OSL_TRACE( "QueryExit => sal_False (in use)" );
return false;
......
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