summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx
index d1765b881af2..21f08fe6147a 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx
@@ -183,7 +183,7 @@ protected:
static uno::Reference< beans::XPropertySet > getOrCreateErrorBarProperties( const Reference< beans::XPropertySet >& xSeriesPropertySet )
{
if(!xSeriesPropertySet.is())
- return 0;
+ return nullptr;
uno::Reference< beans::XPropertySet > xErrorBarProperties;
xSeriesPropertySet->getPropertyValue( CHART_UNONAME_ERRORBAR_Y ) >>= xErrorBarProperties;
if( !xErrorBarProperties.is() )
@@ -346,7 +346,7 @@ void WrappedMeanValueProperty::setValueToSeries( const Reference< beans::XProper
if( xRegCnt.is() )
{
if(aNewValue)
- RegressionCurveHelper::addMeanValueLine( xRegCnt, 0, 0 );
+ RegressionCurveHelper::addMeanValueLine( xRegCnt, nullptr, nullptr );
else
RegressionCurveHelper::removeMeanValueLine( xRegCnt );
}