diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-02 17:28:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-02 18:43:40 +0200 |
commit | 98e3c3421de24d4729f4099e4e6e12af0e7d787a (patch) | |
tree | 939743b215357f22056deeb1966928228e4dc716 /svx | |
parent | WaE: explicitly assigning a variable to itself (diff) | |
download | core-98e3c3421de24d4729f4099e4e6e12af0e7d787a.tar.gz core-98e3c3421de24d4729f4099e4e6e12af0e7d787a.zip |
WaE: equality comparison with extraneous parentheses
Diffstat (limited to 'svx')
-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 bbe73f0c391c..b47e974b57d6 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -1361,7 +1361,7 @@ PropertyState SAL_CALL Cell::getPropertyState( const OUString& PropertyName ) th case XATTR_FILLFLOATTRANSPARENCE: { NameOrIndex* pItem = (NameOrIndex*)rSet.GetItem((sal_uInt16)pMap->nWID); - if( ( pItem == NULL ) ) + if( pItem == NULL ) eState = PropertyState_DEFAULT_VALUE; } break; diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 988b076344f5..6fb809e108b8 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2162,7 +2162,7 @@ beans::PropertyState SAL_CALL SvxShape::_getPropertyState( const OUString& Prope case XATTR_FILLFLOATTRANSPARENCE: { NameOrIndex* pItem = (NameOrIndex*)rSet.GetItem((sal_uInt16)pMap->nWID); - if( ( pItem == NULL ) ) + if ( pItem == NULL ) eState = beans::PropertyState_DEFAULT_VALUE; } break; |