summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2004-07-26 14:53:17 +0000
committerMalte Timmermann <mt@openoffice.org>2004-07-26 14:53:17 +0000
commitf5ac518a9ac4af010b3267594bdc5caf4da617a8 (patch)
tree255c46128bbb19478697824584009629bdee5880 /xmlsecurity
parente732866dd73615e5f582fa637b6c884e99980732 (diff)
#i21596# Digital Signatures...
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index 9d8d512930a3..fdf24f98cbcd 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: digitalsignaturesdialog.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: mt $ $Date: 2004-07-26 15:45:14 $
+ * last change: $Author: mt $ $Date: 2004-07-26 15:53:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,6 +87,8 @@
#include "dialogs.hrc"
#include "resourcemanager.hxx"
+#include <vcl/msgbox.hxx> // Until encrypted docs work...
+
using namespace ::com::sun::star::security;
/* HACK: disable some warnings for MS-C */
@@ -255,7 +257,7 @@ IMPL_LINK( DigitalSignaturesDialog, AddButtonHdl, Button*, EMPTYARG )
{
bBinaryMode = true;
// opening encrypted stream soesn't work, so don't sign ecncrypted docs in EA
- DBG_ERROR( "Can't open encrypted streams..." );
+ ErrorBox( this, WB_OK, String( RTL_CONSTASCII_USTRINGPARAM( "This version does not support signing of encrypted documents right now." ) ) ).Execute();
return -1;
}
}