summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-19 11:58:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-19 14:25:15 +0100
commite51cc9ebf39598c1204d9b89af4e4145433adbd4 (patch)
treea5b1c3267bd3b7e58bc7d625b176bac25ca184ec /filter
parentUNO_NAME_FILTER_NAME is not used anywhere (diff)
downloadcore-e51cc9ebf39598c1204d9b89af4e4145433adbd4.tar.gz
core-e51cc9ebf39598c1204d9b89af4e4145433adbd4.zip
More loplugin:simplifybool
...found with GCC 9, where the standard library iterator implementations are apparently sufficiently different to older versions of GCC to find more cases of !(... == ...) vs. ... != ... Change-Id: Ibe7c5140049a69d2c5318b4b2371f2e66bd05028 Reviewed-on: https://gerrit.libreoffice.org/68012 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index fa04227f18ce..b872b842b36e 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -2289,7 +2289,7 @@ IMPL_LINK( SVGFilter, CalcFieldHdl, EditFieldInfo*, pInfo, void )
OSL_FAIL( "error: !mCreateOjectsCurrentMasterPage.is()" );
return;
}
- bool bHasCharSetMap = !( mTextFieldCharSets.find( mCreateOjectsCurrentMasterPage ) == mTextFieldCharSets.end() );
+ bool bHasCharSetMap = mTextFieldCharSets.find( mCreateOjectsCurrentMasterPage ) != mTextFieldCharSets.end();
static const OUString aHeaderId( NSPREFIX "header-field" );
static const OUString aFooterId( aOOOAttrFooterField );