From 9e087d4a3011aa98de6151aeda9cbb40b1fd21ef Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Nov 2019 09:04:58 +0200 Subject: loplugin:unusedvariablecheck tweak to find more stuff but leave the tweak commented out, since it generates false positives Change-Id: Iaf3f92414d2618f8780561f98765e33e282afe0c Reviewed-on: https://gerrit.libreoffice.org/82121 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/view/charttypes/AreaChart.cxx | 2 -- chart2/source/view/main/ChartView.cxx | 2 -- 2 files changed, 4 deletions(-) (limited to 'chart2') diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx index 6ecfdad87777..e9c54add6c0f 100644 --- a/chart2/source/view/charttypes/AreaChart.cxx +++ b/chart2/source/view/charttypes/AreaChart.cxx @@ -421,8 +421,6 @@ bool AreaChart::impl_createLine( VDataSeries* pSeries aPoint2.PositionY = aPoly.SequenceY[nPoly][nPoint]; aPoint2.PositionZ = aPoly.SequenceZ[nPoly][nPoint]; - Stripe aStripe( aPoint1, aPoint2, fDepth ); - m_pShapeFactory->createStripe(xSeriesGroupShape_Shapes , Stripe( aPoint1, aPoint2, fDepth ) , pSeries->getPropertiesOfSeries(), PropertyMapper::getPropertyNameMapForFilledSeriesProperties(), true, 1 ); diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 8601e82e4803..0e4d1124847b 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -2893,7 +2893,6 @@ OUString ChartView::dump() uno::Reference< drawing::XShapes > xShape(xShapes->getByIndex(i), uno::UNO_QUERY); if(xShape.is()) { - XShapeDumper dumper; OUString aString = XShapeDumper::dump(mxRootShape); aBuffer.append(aString); } @@ -2902,7 +2901,6 @@ OUString ChartView::dump() uno::Reference< drawing::XShape > xSingleShape(xShapes->getByIndex(i), uno::UNO_QUERY); if(!xSingleShape.is()) continue; - XShapeDumper dumper; OUString aString = XShapeDumper::dump(xSingleShape); aBuffer.append(aString); } -- cgit