summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-22 08:54:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-22 08:54:32 +0100
commitb13936abe9b8b3571da7058b573e4e6456559dec (patch)
treee6346acedaa20453bfaa6489cbe173088bbc2aa3 /xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
parent822adae78fa1e9094005939bda4746e681dbb5f7 (diff)
QueryBox MSG_XMLSECDLG_QUERY_REMOVEDOCSIGNBEFORESIGN -> MessageDialog + string
Change-Id: I9dcbc271dac9a2395bf2a7adb160c965627a0277
Diffstat (limited to 'xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx')
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index 53ea3c925718..c0c08d7a88da 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -54,7 +54,6 @@
#include "helpids.hrc"
#include "resourcemanager.hxx"
-#include <vcl/msgbox.hxx>
#include <vcl/layout.hxx>
#include <unotools/configitem.hxx>
@@ -308,8 +307,8 @@ bool DigitalSignaturesDialog::canAddRemove()
//It the user presses 'Add' or 'Remove' several times then, then the warning
//is shown every time until the user presses 'OK'. From then on, the warning
//is not displayed anymore as long as the signatures dialog is alive.
- if (QueryBox(
- NULL, XMLSEC_RES(MSG_XMLSECDLG_QUERY_REMOVEDOCSIGNBEFORESIGN)).Execute() == RET_NO)
+ if (MessageDialog(
+ NULL, XMLSEC_RES(STR_XMLSECDLG_QUERY_REMOVEDOCSIGNBEFORESIGN), VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO).Execute() == RET_NO)
ret = false;
else
m_bWarningShowSignMacro = true;