From 5f073470617d225fc519fd485e447a8ad10967d9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 25 Aug 2014 15:27:09 +0100 Subject: convert RID_XMLSECWB_NO_MOZILLA_PROFILE to MessageDialog + string Change-Id: I7e02dc9db8c6a3195a4b2adccea3d0f4e260c661 --- xmlsecurity/source/component/documentdigitalsignatures.cxx | 4 ++-- xmlsecurity/source/component/warnbox.src | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'xmlsecurity/source/component') diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index 157292a2855e..c97779bdaf4f 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include #include @@ -226,7 +226,7 @@ bool DocumentDigitalSignatures::ImplViewSignatures( } else { - WarningBox aBox( NULL, XMLSEC_RES( RID_XMLSECWB_NO_MOZILLA_PROFILE ) ); + MessageDialog aBox(NULL, XMLSEC_RES(RID_XMLSECWB_NO_MOZILLA_PROFILE), VCL_MESSAGE_WARNING); aBox.Execute(); } diff --git a/xmlsecurity/source/component/warnbox.src b/xmlsecurity/source/component/warnbox.src index 8e323e14b33a..7202fe958f23 100644 --- a/xmlsecurity/source/component/warnbox.src +++ b/xmlsecurity/source/component/warnbox.src @@ -19,11 +19,9 @@ #include -WarningBox RID_XMLSECWB_NO_MOZILLA_PROFILE +String RID_XMLSECWB_NO_MOZILLA_PROFILE { - Buttons = WB_OK ; - DefButton = WB_DEF_OK ; - Message [ en-US ] = "Digital signatures functionality could not be used, because no Mozilla user profile was found. Please check the Mozilla installation." ; + Text [ en-US ] = "Digital signatures functionality could not be used, because no Mozilla user profile was found. Please check the Mozilla installation." ; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit