diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 23:26:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 08:22:34 +0100 |
commit | 7f84ebe93bcdc8c57f944c57616ecfc1c8366124 (patch) | |
tree | 4a1ed4e88e4e24330d7b174a19d470f04832fbfd /xmlsecurity | |
parent | bool improvements (diff) | |
download | core-7f84ebe93bcdc8c57f944c57616ecfc1c8366124.tar.gz core-7f84ebe93bcdc8c57f944c57616ecfc1c8366124.zip |
bool improvements
Change-Id: I74db1d1b8250a6832fc68a6856912713b1d8944b
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/helper/xsecctl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index 1134c864fbc1..15f0f96f6928 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -147,7 +147,7 @@ void XSecController::createXSecComponent( ) xMCF->createInstanceWithContext( sXMLSignature, mxCtx ), cssu::UNO_QUERY ); - bool bSuccess = (0!=m_xXMLSignature.is()); + bool bSuccess = m_xXMLSignature.is(); if ( bSuccess ) /* * XMLSignature created successfully. @@ -158,7 +158,7 @@ void XSecController::createXSecComponent( ) cssu::UNO_QUERY ); } - bSuccess &= (0!=m_xXMLDocumentWrapper.is()); + bSuccess &= m_xXMLDocumentWrapper.is(); if ( bSuccess ) /* * XMLDocumentWrapper created successfully. @@ -169,7 +169,7 @@ void XSecController::createXSecComponent( ) cssu::UNO_QUERY ); } - bSuccess &= (0!=m_xSAXEventKeeper.is()); + bSuccess &= m_xSAXEventKeeper.is(); if (bSuccess) /* |