summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-04 08:45:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-04 11:21:36 +0200
commitcda88ec7a43162df37098c4525c33451266a1575 (patch)
tree4f80310ab0ef1210b7dcd4d769b70c59fbc09f1e /sd
parentf45ff1a7147e6a9479c669f082dd74349c6bcb4b (diff)
loplugin:simplifybool a little more aggressive
with expressions like !(a && b) Change-Id: Id2acec2a8d0eaaa8e5e37dbd2cae7281be36572e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100040 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index 81b1df15356d..fba25161b2e7 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -864,9 +864,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider* pBuProv, sal_Int1
else if ( aPropName == "Suffix" )
sSuffix = *o3tl::doAccess<OUString>(rPropValue.Value);
#ifdef DBG_UTIL
- else if ( ! (
- ( aPropName == "SymbolTextDistance" )
- || ( aPropName == "GraphicBitmap" ) ) )
+ else if ( aPropName != "SymbolTextDistance" && aPropName != "GraphicBitmap" )
{
OSL_FAIL( "Unknown Property" );
}