summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
index f8bbbffda161..ec1683ba8038 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
@@ -252,7 +252,7 @@ Any WrappedSymbolTypeProperty::getPropertyValue( const Reference< beans::XProper
}
else
{
- if( css::chart::ChartSymbolType::NONE == aValue )
+ if( aValue == css::chart::ChartSymbolType::NONE )
m_aOuterValue <<= css::chart::ChartSymbolType::NONE;
else
m_aOuterValue <<= css::chart::ChartSymbolType::AUTO;
@@ -456,7 +456,7 @@ beans::PropertyState WrappedSymbolSizeProperty::getPropertyState( const Referenc
Reference< beans::XPropertySet > xSeriesPropertySet( xInnerPropertyState, uno::UNO_QUERY );
if( xSeriesPropertySet.is() && ( xSeriesPropertySet->getPropertyValue("Symbol") >>= aSymbol ))
{
- if( chart2::SymbolStyle_NONE != aSymbol.Style )
+ if( aSymbol.Style != chart2::SymbolStyle_NONE )
return beans::PropertyState_DIRECT_VALUE;
}
}