diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/NetChart.cxx | 5 | ||||
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/chart2/source/view/charttypes/NetChart.cxx b/chart2/source/view/charttypes/NetChart.cxx index 56e46bf1d791..c2d1026f5d9f 100644 --- a/chart2/source/view/charttypes/NetChart.cxx +++ b/chart2/source/view/charttypes/NetChart.cxx @@ -346,8 +346,6 @@ void NetChart::createShapes() //better performance for big data std::map< VDataSeries*, FormerPoint > aSeriesFormerPointMap; m_bPointsWereSkipped = false; - sal_Int32 nSkippedPoints = 0; - sal_Int32 nCreatedPoints = 0; bool bDateCategory = (m_pExplicitCategoriesProvider && m_pExplicitCategoriesProvider->isDateAxis()); @@ -487,7 +485,6 @@ void NetChart::createShapes() aFormerPoint.m_fX, aFormerPoint.m_fY, aFormerPoint.m_fZ , aScaledLogicPosition.PositionX, aScaledLogicPosition.PositionY, aScaledLogicPosition.PositionZ ) ) { - ++nSkippedPoints; m_bPointsWereSkipped = true; continue; } @@ -535,8 +532,6 @@ void NetChart::createShapes() uno::Reference<drawing::XShape>( xPointGroupShape_Shapes, uno::UNO_QUERY ); { - nCreatedPoints++; - //create data point drawing::Direction3D aSymbolSize(0,0,0); if (bCreateSymbol) // implies pSymbolProperties diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index a989552ffe90..b2e493e8d46e 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -952,7 +952,6 @@ drawing::Direction3D SeriesPlotterContainer::getPreferredAspectRatio() { drawing::Direction3D aPreferredAspectRatio(1.0,1.0,1.0); - sal_Int32 nPlotterCount=0; //get a list of all preferred aspect ratios and combine them //first with special demands wins (less or equal zero <-> arbitrary) double fx, fy, fz; @@ -985,7 +984,6 @@ drawing::Direction3D SeriesPlotterContainer::getPreferredAspectRatio() if( fx>0 && fy>0 && fz>0 ) break; - ++nPlotterCount; } aPreferredAspectRatio = drawing::Direction3D(fx, fy, fz); return aPreferredAspectRatio; |