summaryrefslogtreecommitdiff
path: root/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:11:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:18 +0100
commit40c4a086521703e64f7f182d8e07490855cfeb0a (patch)
tree713a700c6bc2966a3d8376c5c9da661e90fd2c50 /chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx
parentc40c7a8c364bd8f1d7777e803e5a6b0cfddeaca3 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx')
-rw-r--r--chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx b/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx
index af676b1823fe..bfcd17a10cf3 100644
--- a/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx
+++ b/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx
@@ -54,7 +54,7 @@ AllAxisItemConverter::AllAxisItemConverter(
uno::Reference< beans::XPropertySet > xObjectProperties(aElementList[nA], uno::UNO_QUERY);
m_aConverters.push_back( new ::chart::wrapper::AxisItemConverter(
xObjectProperties, rItemPool, rDrawModel,
- uno::Reference< chart2::XChartDocument >( xChartModel, uno::UNO_QUERY ), 0, 0,
+ uno::Reference< chart2::XChartDocument >( xChartModel, uno::UNO_QUERY ), nullptr, nullptr,
pRefSize));
}
}
@@ -112,7 +112,7 @@ AllDataLabelItemConverter::AllDataLabelItemConverter(
for( aIt = aSeriesList.begin(); aIt != aSeriesList.end(); ++aIt )
{
uno::Reference< beans::XPropertySet > xObjectProperties( *aIt, uno::UNO_QUERY);
- uno::Reference< uno::XComponentContext> xContext(0);//do not need Context for label properties
+ uno::Reference< uno::XComponentContext> xContext(nullptr);//do not need Context for label properties
sal_Int32 nNumberFormat=ExplicitValueProvider::getExplicitNumberFormatKeyForDataLabel( xObjectProperties, *aIt, -1/*nPointIndex*/, ChartModelHelper::findDiagram( xChartModel ) );
sal_Int32 nPercentNumberFormat=ExplicitValueProvider::getExplicitPercentageNumberFormatKeyForDataLabel(