From ab10f9fc11948ca0f463aa8c0c784a574c89f8f7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 11 Jun 2016 19:05:15 +0200 Subject: convert DBG_ASSERT(false, to SAL_WARN( Change-Id: I400d728c5d99228c5ca52e369037395b4da2af5c Reviewed-on: https://gerrit.libreoffice.org/26187 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlsecurity/source/component/documentdigitalsignatures.cxx | 2 +- xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index e7777ceb9e83..d57fc6bef68b 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -259,7 +259,7 @@ DocumentDigitalSignatures::ImplVerifySignatures( { if (!rxStorage.is()) { - DBG_ASSERT(false, "Error, no XStorage provided"); + SAL_WARN( "xmlsecurity", "Error, no XStorage provided"); return Sequence(); } // First check for the InputStream, to avoid unnecessary initialization of the security environment... diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index aa6db5286b4f..fa0b18097880 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -447,7 +447,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox() //in the digital signature dialog. //Comparing the X509IssuerName with the one from the X509Certificate in order //to find out if the X509IssuerName was modified does not work. See #i62684 - DBG_ASSERT(false, "Could not find embedded certificate!"); + SAL_WARN( "xmlsecurity", "Could not find embedded certificate!"); } //In case there is no embedded certificate we try to get it from a local store -- cgit