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

InfoBox RID_XMLSEC_INFO_WRONGDOCFORMAT to String

Change-Id: Ieb1c90f2f17b2ce12acf2999743ce4d608076223
üst 4ca5a663
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
#define RID_XMLSEC_QUERY_SAVEBEFORESIGN (RID_SFX_APP_START + 187) #define RID_XMLSEC_QUERY_SAVEBEFORESIGN (RID_SFX_APP_START + 187)
#define RID_QUERY_CANCELCHECKOUT (RID_SFX_APP_START + 188) #define RID_QUERY_CANCELCHECKOUT (RID_SFX_APP_START + 188)
#define RID_XMLSEC_INFO_WRONGDOCFORMAT (RID_SFX_APP_START + 190) #define STR_INFO_WRONGDOCFORMAT (RID_SFX_APP_START + 190)
#define STR_QUERY_UPDATE_LINKS (RID_SFX_APP_START + 192) #define STR_QUERY_UPDATE_LINKS (RID_SFX_APP_START + 192)
#define STR_DDE_ERROR (RID_SFX_APP_START + 193) #define STR_DDE_ERROR (RID_SFX_APP_START + 193)
......
...@@ -424,9 +424,9 @@ QueryBox RID_QUERY_CANCELCHECKOUT ...@@ -424,9 +424,9 @@ QueryBox RID_QUERY_CANCELCHECKOUT
Message [ en-US ] = "This will discard all changes on the server since check-out.\nDo you want to proceed?" ; Message [ en-US ] = "This will discard all changes on the server since check-out.\nDo you want to proceed?" ;
}; };
InfoBox RID_XMLSEC_INFO_WRONGDOCFORMAT String STR_INFO_WRONGDOCFORMAT
{ {
Message [ en-US ] = "This document must be saved in OpenDocument file format before it can be digitally signed." ; Text [ en-US ] = "This document must be saved in OpenDocument file format before it can be digitally signed." ;
}; };
String RID_XMLSEC_DOCUMENTSIGNED String RID_XMLSEC_DOCUMENTSIGNED
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include <tools/urlobj.hxx> #include <tools/urlobj.hxx>
#include <svl/whiter.hxx> #include <svl/whiter.hxx>
#include <vcl/msgbox.hxx> #include <vcl/msgbox.hxx>
#include <vcl/layout.hxx>
#include <svl/intitem.hxx> #include <svl/intitem.hxx>
#include <svl/eitem.hxx> #include <svl/eitem.hxx>
#include <svl/visitem.hxx> #include <svl/visitem.hxx>
...@@ -1398,7 +1399,7 @@ void SfxObjectShell::ImplSign( bool bScriptingContent ) ...@@ -1398,7 +1399,7 @@ void SfxObjectShell::ImplSign( bool bScriptingContent )
) )
{ {
// Only OASIS and OOo6.x formats will be handled further // Only OASIS and OOo6.x formats will be handled further
InfoBox( NULL, SfxResId( RID_XMLSEC_INFO_WRONGDOCFORMAT ) ).Execute(); MessageDialog( NULL, SfxResId( STR_INFO_WRONGDOCFORMAT ), VCL_MESSAGE_INFO ).Execute();
return; return;
} }
...@@ -1449,7 +1450,7 @@ void SfxObjectShell::ImplSign( bool bScriptingContent ) ...@@ -1449,7 +1450,7 @@ void SfxObjectShell::ImplSign( bool bScriptingContent )
|| SotStorage::GetVersion( GetMedium()->GetStorage() ) <= SOFFICE_FILEFORMAT_60 ) ) || SotStorage::GetVersion( GetMedium()->GetStorage() ) <= SOFFICE_FILEFORMAT_60 ) )
{ {
// Only OASIS format will be handled further // Only OASIS format will be handled further
InfoBox( NULL, SfxResId( RID_XMLSEC_INFO_WRONGDOCFORMAT ) ).Execute(); MessageDialog( NULL, SfxResId( STR_INFO_WRONGDOCFORMAT ), VCL_MESSAGE_INFO ).Execute();
return; return;
} }
} }
......
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