summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 16:59:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:33 +0200
commit79bffab70856d04d94c56f35ad2fa1212756ad95 (patch)
treea63362036654e083938173ce7d1df8368f2803f7
parent5eef994ba9286b0fa0c606e4441d3ac83a6ed8e3 (diff)
Remove redundant comparison against sal_False
Change-Id: I6e5e5d730a8e7e3efc50472db08d0ed258ffbb3a
-rw-r--r--chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx b/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx
index 5573ff699d02..c56c0934688e 100644
--- a/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx
@@ -153,7 +153,7 @@ void CharacterPropertyItemConverter::FillSpecialItem(
aValue = GetPropertySet()->getPropertyValue( "CharUnderlineHasColor" );
if( aValue.hasValue() &&
- ( *static_cast< const sal_Bool * >( aValue.getValue()) != sal_False ))
+ *static_cast< const sal_Bool * >( aValue.getValue()) )
{
aItem.PutValue( aValue, MID_TL_HASCOLOR );
bModified = true;
@@ -185,7 +185,7 @@ void CharacterPropertyItemConverter::FillSpecialItem(
aValue = GetPropertySet()->getPropertyValue( "CharOverlineHasColor" );
if ( aValue.hasValue() &&
- ( *static_cast< const sal_Bool* >( aValue.getValue() ) != sal_False ) )
+ *static_cast< const sal_Bool* >( aValue.getValue() ) )
{
aItem.PutValue( aValue, MID_TL_HASCOLOR );
bModified = true;