diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-06-12 14:47:53 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-13 06:53:42 +0000 |
commit | c2d195447feb4d7f8ab6642a8d05bfb85797eb05 (patch) | |
tree | f73a00581f48043bdca2ea5af1e4889b6911c92c /xmlsecurity/source/component | |
parent | e2574399f7b78bc05eaf11dad41f7c1e5215dc1d (diff) |
Convert DBG_ASSERT in xmlsecurity
Change-Id: Ideec43617ff214b7e0dcbb0a1969955b34ee19e4
Reviewed-on: https://gerrit.libreoffice.org/26196
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmlsecurity/source/component')
-rw-r--r-- | xmlsecurity/source/component/documentdigitalsignatures.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index d57fc6bef68b..06921922f5f7 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -224,7 +224,7 @@ bool DocumentDigitalSignatures::ImplViewSignatures( nullptr, mxCtx, eMode, bReadOnly, m_sODFVersion, m_bHasDocumentSignature); bool bInit = aSignaturesDialog->Init(); - DBG_ASSERT( bInit, "Error initializing security context!" ); + SAL_WARN_IF( !bInit, "xmlsecurity", "Error initializing security context!" ); if ( bInit ) { aSignaturesDialog->SetStorage( rxStorage ); @@ -281,7 +281,7 @@ DocumentDigitalSignatures::ImplVerifySignatures( bool bInit = aSignatureHelper.Init(); - DBG_ASSERT( bInit, "Error initializing security context!" ); + SAL_WARN_IF( !bInit, "xmlsecurity", "Error initializing security context!" ); if ( !bInit ) return Sequence< css::security::DocumentSignatureInformation >(0); @@ -404,7 +404,7 @@ void DocumentDigitalSignatures::showCertificate( bool bInit = aSignatureHelper.Init(); - DBG_ASSERT( bInit, "Error initializing security context!" ); + SAL_WARN_IF( !bInit, "xmlsecurity", "Error initializing security context!" ); if ( bInit ) { |