diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-18 18:04:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-18 18:06:54 +0200 |
commit | c345299186841ccb1fe846f6f277039c188941d6 (patch) | |
tree | 2d1f065903342a52a77f76ecd73ff7a1fb752386 /svx/source | |
parent | 1be2684512e5ad21526c65ee04acf2c71a8691b6 (diff) |
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 'svx/source')
-rw-r--r-- | svx/source/table/cell.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 3483a7d3bdcb..5266e5e2165f 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -1425,7 +1425,7 @@ PropertyState SAL_CALL Cell::getPropertyState( const OUString& PropertyName ) } // if a item is set, this doesn't mean we want it :) - if( ( PropertyState_DIRECT_VALUE == eState ) ) + if( PropertyState_DIRECT_VALUE == eState ) { switch( pMap->nWID ) { diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 7cc707c7f510..ba50ddedc577 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2017,7 +2017,7 @@ beans::PropertyState SAL_CALL SvxShape::_getPropertyState( const OUString& Prope } // if a item is set, this doesn't mean we want it :) - if( ( beans::PropertyState_DIRECT_VALUE == eState ) ) + if( beans::PropertyState_DIRECT_VALUE == eState ) { switch( pMap->nWID ) { |