summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-18 18:04:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-18 18:06:54 +0200
commitc345299186841ccb1fe846f6f277039c188941d6 (patch)
tree2d1f065903342a52a77f76ecd73ff7a1fb752386 /sd
parentsw lok: Make the default for the Web view larger. (diff)
downloadcore-c345299186841ccb1fe846f6f277039c188941d6.tar.gz
core-c345299186841ccb1fe846f6f277039c188941d6.zip
Remove parentheses around some comparisons
...where Clang would otherwise start to emit -Wparentheses-equality as soon as the order of arguments were switched by loplugin:comparisonwithconstant Change-Id: If064c2c6e2f81478154395137138b71f2d1c6534
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/stlsheet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 2c34c5e068c9..9d984d001d02 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -1217,7 +1217,7 @@ PropertyState SAL_CALL SdStyleSheet::getPropertyState( const OUString& PropertyN
}
// if a item is set, this doesn't mean we want it :)
- if( ( PropertyState_DIRECT_VALUE == eState ) )
+ if( PropertyState_DIRECT_VALUE == eState )
{
switch( pEntry->nWID )
{