diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-20 13:52:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-20 17:18:31 +0100 |
commit | 16a614c77ace3f44684efd9c964c52ddbd5f5cf9 (patch) | |
tree | 243a972fe3bace2665c78b2a4c67df932c8b6627 /xmloff/source/transform/FormPropOASISTContext.cxx | |
parent | cairo: upgrade to release 1.16.0 (diff) | |
download | core-16a614c77ace3f44684efd9c964c52ddbd5f5cf9.tar.gz core-16a614c77ace3f44684efd9c964c52ddbd5f5cf9.zip |
More loplugin:simplifybool
...found with (trunk) libc++ on macOS, where the standard library iterator
implementations are apparently sufficiently different to libstdc++ to find more
cases of !(... == ...) vs. ... != ...
Change-Id: Ia3861406aa584c7b1d33f47448190b5cf2e770f7
Reviewed-on: https://gerrit.libreoffice.org/68089
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff/source/transform/FormPropOASISTContext.cxx')
-rw-r--r-- | xmloff/source/transform/FormPropOASISTContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/transform/FormPropOASISTContext.cxx b/xmloff/source/transform/FormPropOASISTContext.cxx index 2e68b23134a1..0c88c3ba9ec9 100644 --- a/xmloff/source/transform/FormPropOASISTContext.cxx +++ b/xmloff/source/transform/FormPropOASISTContext.cxx @@ -122,7 +122,7 @@ void XMLFormPropOASISTransformerContext::StartElement( XMLTransformerActions::key_type aKey( nPrefix, aLocalName ); XMLTransformerActions::const_iterator aIter = pActions->find( aKey ); - if( !(aIter == pActions->end() ) ) + if( aIter != pActions->end() ) { const OUString& rAttrValue = xAttrList->getValueByIndex( i ); switch( (*aIter).second.m_nActionType ) |