diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:21:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:32 +0200 |
commit | f3059ab1dcb4a413f487fbac1329044f9f5a7e90 (patch) | |
tree | 2c9e66f5b0d95e6b2b342dbbad2ad38ff279b700 /xmlsecurity | |
parent | loplugin:salbool: Automatic rewrite of sal_False/True (diff) | |
download | core-f3059ab1dcb4a413f487fbac1329044f9f5a7e90.tar.gz core-f3059ab1dcb4a413f487fbac1329044f9f5a7e90.zip |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I96cef821fc1d87963b8928af5dfc8ba97557da74
Diffstat (limited to 'xmlsecurity')
10 files changed, 22 insertions, 22 deletions
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx index 9bc7cbeaa2df..2c616c98cd96 100644 --- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx +++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx @@ -102,7 +102,7 @@ void SAXEventKeeperImpl::setCurrentBufferNode(BufferNode* pBufferNode) if ( m_pCurrentBufferNode == m_pRootBufferNode && m_xSAXEventKeeperStatusChangeListener.is()) { - m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(sal_True); + m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(true); } if (pBufferNode->getParent() == nullptr) @@ -170,7 +170,7 @@ BufferNode* SAXEventKeeperImpl::addNewElementMarkBuffers() if (m_xSAXEventKeeperStatusChangeListener.is()) { - m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(sal_True); + m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(true); } } @@ -724,7 +724,7 @@ void SAXEventKeeperImpl::releaseElementMarkBuffer() if (m_pCurrentBlockingBufferNode == nullptr && m_xSAXEventKeeperStatusChangeListener.is()) { - m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(sal_False); + m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(false); } } @@ -749,7 +749,7 @@ void SAXEventKeeperImpl::releaseElementMarkBuffer() !m_pRootBufferNode->hasChildren() && m_xSAXEventKeeperStatusChangeListener.is()) { - m_xSAXEventKeeperStatusChangeListener->bufferStatusChanged(sal_True); + m_xSAXEventKeeperStatusChangeListener->bufferStatusChanged(true); } } @@ -1161,7 +1161,7 @@ void SAL_CALL SAXEventKeeperImpl::endElement( const OUString& aName ) if ((m_pCurrentBufferNode == m_pRootBufferNode) && m_xSAXEventKeeperStatusChangeListener.is()) { - m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(sal_False); + m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(false); } } } diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx index 90e83c8c6f6a..2cb06278d19a 100644 --- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx +++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx @@ -88,9 +88,9 @@ sal_Bool SAL_CALL XMLEncryptionTemplateImpl::supportsService( const OUString& se const OUString* pArray = seqServiceNames.getConstArray() ; for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) { if( *( pArray + i ) == serviceName ) - return sal_True ; + return true ; } - return sal_False ; + return false ; } /* XServiceInfo */ diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx index 6d465502be89..a2f7b9bd41dc 100644 --- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx +++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx @@ -111,9 +111,9 @@ sal_Bool SAL_CALL XMLSignatureTemplateImpl::supportsService( const OUString& ser const OUString* pArray = seqServiceNames.getConstArray() ; for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) { if( *( pArray + i ) == serviceName ) - return sal_True ; + return true ; } - return sal_False ; + return false ; } /* XServiceInfo */ diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index b9f21ec33cd0..fb0b85eaf6cf 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -511,7 +511,7 @@ void XSecController::clearSAXChainConnector() if (m_xElementStackKeeper.is() && m_xSAXEventKeeper.is()) { cssu::Reference< cssxs::XDocumentHandler > xSEKHandler(m_xSAXEventKeeper, cssu::UNO_QUERY); - m_xElementStackKeeper->retrieve(xSEKHandler, sal_True); + m_xElementStackKeeper->retrieve(xSEKHandler, true); } chainOff(); diff --git a/xmlsecurity/source/helper/xsecsign.cxx b/xmlsecurity/source/helper/xsecsign.cxx index 44898669e1ed..ea88c0e27547 100644 --- a/xmlsecurity/source/helper/xsecsign.cxx +++ b/xmlsecurity/source/helper/xsecsign.cxx @@ -68,7 +68,7 @@ cssu::Reference< cssxc::sax::XReferenceResolvedListener > XSecController::prepar cssu::Reference< cssxc::sax::XReferenceResolvedListener > xReferenceResolvedListener; nIdOfSignatureElementCollector = - m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_AFTERMODIFY, sal_True ); + m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_AFTERMODIFY, true ); m_xSAXEventKeeper->setSecurityId(nIdOfSignatureElementCollector, nSecurityId); diff --git a/xmlsecurity/source/helper/xsecverify.cxx b/xmlsecurity/source/helper/xsecverify.cxx index 8ca52f53d9d8..a60b4c567022 100644 --- a/xmlsecurity/source/helper/xsecverify.cxx +++ b/xmlsecurity/source/helper/xsecverify.cxx @@ -55,7 +55,7 @@ cssu::Reference< cssxc::sax::XReferenceResolvedListener > XSecController::prepar cssu::Reference< cssxc::sax::XReferenceResolvedListener > xReferenceResolvedListener; nIdOfSignatureElementCollector = - m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_BEFOREMODIFY, sal_False); + m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_BEFOREMODIFY, false); m_xSAXEventKeeper->setSecurityId(nIdOfSignatureElementCollector, nSecurityId); @@ -359,7 +359,7 @@ void XSecController::collectToVerify( const OUString& referenceId ) } sal_Int32 nKeeperId = m_xSAXEventKeeper->addSecurityElementCollector( - cssxc::sax::ElementMarkPriority_BEFOREMODIFY, sal_False ); + cssxc::sax::ElementMarkPriority_BEFOREMODIFY, false ); cssu::Reference<cssxc::sax::XReferenceResolvedBroadcaster> xReferenceResolvedBroadcaster (m_xSAXEventKeeper, @@ -383,7 +383,7 @@ void XSecController::collectToVerify( const OUString& referenceId ) cssu::Reference< cssxs::XDocumentHandler > xSEKHandler(m_xSAXEventKeeper, cssu::UNO_QUERY); if (m_xElementStackKeeper.is()) { - m_xElementStackKeeper->retrieve(xSEKHandler, sal_True); + m_xElementStackKeeper->retrieve(xSEKHandler, true); } m_xSAXEventKeeper->setNextHandler(xHandler); } diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx index 43abf22ad7e0..47f609bb144d 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx @@ -152,9 +152,9 @@ sal_Bool SAL_CALL SecurityEnvironment_NssImpl::supportsService( const OUString& const OUString* pArray = seqServiceNames.getConstArray() ; for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) { if( *( pArray + i ) == serviceName ) - return sal_True ; + return true ; } - return sal_False ; + return false ; } /* XServiceInfo */ diff --git a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx index 1a871d664e7c..bc4ae4720612 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx @@ -320,9 +320,9 @@ sal_Bool SAL_CALL XMLEncryption_NssImpl::supportsService( const OUString& servic const OUString* pArray = seqServiceNames.getConstArray() ; for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) { if( *( pArray + i ) == serviceName ) - return sal_True ; + return true ; } - return sal_False ; + return false ; } /* XServiceInfo */ diff --git a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx index 1c78f5723023..8cf0f94e429f 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx @@ -133,9 +133,9 @@ sal_Bool SAL_CALL XMLSecurityContext_NssImpl::supportsService( const OUString& s const OUString* pArray = seqServiceNames.getConstArray() ; for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) { if( *( pArray + i ) == serviceName ) - return sal_True ; + return true ; } - return sal_False ; + return false ; } /* XServiceInfo */ diff --git a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx index 28468cb55df3..21c78d578b22 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx @@ -294,9 +294,9 @@ sal_Bool SAL_CALL XMLSignature_NssImpl::supportsService( const OUString& service const OUString* pArray = seqServiceNames.getConstArray() ; for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) { if( *( pArray + i ) == serviceName ) - return sal_True ; + return true ; } - return sal_False ; + return false ; } /* XServiceInfo */ |