diff options
Diffstat (limited to 'chart2/source/view/charttypes/NetChart.cxx')
-rw-r--r-- | chart2/source/view/charttypes/NetChart.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/view/charttypes/NetChart.cxx b/chart2/source/view/charttypes/NetChart.cxx index d08547f54b88..c5f38386bd3f 100644 --- a/chart2/source/view/charttypes/NetChart.cxx +++ b/chart2/source/view/charttypes/NetChart.cxx @@ -59,8 +59,6 @@ NetChart::NetChart( const uno::Reference<XChartType>& xChartTypeModel , m_pMainPosHelper(std::move(pPlottingPositionHelper)) , m_bArea(!bNoArea) , m_bLine(bNoArea) - , m_xSeriesTarget(nullptr) - , m_xTextTarget(nullptr) { // we only support 2D Net charts assert(nDimensionCount == 2); @@ -158,7 +156,7 @@ bool NetChart::impl_createLine( VDataSeries* pSeries pPosHelper->transformScaledLogicToScene( aPoly ); //create line: - uno::Reference< drawing::XShape > xShape(nullptr); + uno::Reference< drawing::XShape > xShape; { xShape = m_pShapeFactory->createLine2D( xSeriesGroupShape_Shapes , PolyToPointSequence( aPoly ) ); |