summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-02 17:28:05 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-02 18:43:40 +0200
commit98e3c3421de24d4729f4099e4e6e12af0e7d787a (patch)
tree939743b215357f22056deeb1966928228e4dc716 /svx
parent75902119c17f224c9387092b1e9c776419dfcde4 (diff)
WaE: equality comparison with extraneous parentheses
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/cell.cxx2
-rw-r--r--svx/source/unodraw/unoshape.cxx2
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;