summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/helper/pdfsignaturehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/helper/pdfsignaturehelper.cxx')
-rw-r--r--xmlsecurity/source/helper/pdfsignaturehelper.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlsecurity/source/helper/pdfsignaturehelper.cxx b/xmlsecurity/source/helper/pdfsignaturehelper.cxx
index b3f2f16fb193..3e3e6ebdf467 100644
--- a/xmlsecurity/source/helper/pdfsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/pdfsignaturehelper.cxx
@@ -20,6 +20,7 @@
#include <vcl/filter/pdfdocument.hxx>
#include <pdfio/pdfdocument.hxx>
+#include <tools/diagnose_ex.h>
using namespace ::com::sun::star;
@@ -90,9 +91,9 @@ PDFSignatureHelper::GetDocumentSignatureInformations(
{
rExternal.CertificateStatus = xSecEnv->verifyCertificate(rExternal.Signer, {});
}
- catch (const uno::SecurityException& rException)
+ catch (const uno::SecurityException&)
{
- SAL_WARN("xmlsecurity.helper", "failed to verify certificate: " << rException);
+ DBG_UNHANDLED_EXCEPTION("xmlsecurity.helper", "failed to verify certificate");
rExternal.CertificateStatus = security::CertificateValidity::INVALID;
}
}