diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 12:05:07 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:12:12 +0100 |
commit | c9eddb9d35857d75611886b805a7cdae0589594e (patch) | |
tree | 3af8dc6b87ca4b89706efeb90dcb0d3908ce2ea8 /xmlsecurity | |
parent | 5ad692096323fcdf03823352b70bb7e71660919c (diff) |
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/component/documentdigitalsignatures.cxx | 2 | ||||
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/component/documentdigitalsignatures.cxx b/xmlsecurity/source/component/documentdigitalsignatures.cxx index 99c2ab5ccab1..50f63636904b 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.cxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.cxx @@ -340,7 +340,7 @@ DocumentDigitalSignatures::ImplVerifySignatures( rSigInfo.CertificateStatus = xSecEnv->verifyCertificate(rSigInfo.Signer, Sequence<Reference<css::security::XCertificate> >()); } catch (SecurityException& ) { - OSL_ENSURE(0, "Verification of certificate failed"); + OSL_FAIL("Verification of certificate failed"); rSigInfo.CertificateStatus = css::security::CertificateValidity::INVALID; } } diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index d4f08d7190de..0ab9ea2a458c 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -640,7 +640,7 @@ void DigitalSignaturesDialog::ImplFillSignaturesBox() nValidCerts++; } catch (css::uno::SecurityException& ) { - OSL_ENSURE(0, "Verification of certificate failed"); + OSL_FAIL("Verification of certificate failed"); bCertValid = false; } |