diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-18 09:03:51 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-19 05:39:46 +0000 |
commit | 36313d93ac6f88bb4b4e4ed7109db583c7ce9886 (patch) | |
tree | f27ca9d75beb484a6ce93268fc15a0bfd470e3a1 /chart2/source | |
parent | a7b5be118191a4e8a6cd422b5b2438a1ac22f36f (diff) |
improve unnecessaryoverride plugin
to ignore ImplicitCastExpr when calling superclass method
Change-Id: I76a3068446acfee85aa1baeb216e57f63c7099c1
Reviewed-on: https://gerrit.libreoffice.org/27279
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source')
4 files changed, 0 insertions, 28 deletions
diff --git a/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx b/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx index 81b580409f31..9b0944e22154 100644 --- a/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx +++ b/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx @@ -47,16 +47,6 @@ private: const css::uno::Sequence<double>& aYValues ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence<css::geometry::RealPoint2D> SAL_CALL getCurveValues( - double min, - double max, - sal_Int32 nPointCount, - const css::uno::Reference<css::chart2::XScaling>& xScalingX, - const css::uno::Reference<css::chart2::XScaling>& xScalingY, - sal_Bool bMaySkipPointsInCalculation ) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; - std::vector<double> mCoefficients; }; diff --git a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx index 2a135b1f4277..2134b4fb6b75 100644 --- a/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx +++ b/chart2/source/tools/PolynomialRegressionCurveCalculator.cxx @@ -221,18 +221,6 @@ double SAL_CALL PolynomialRegressionCurveCalculator::getCurveValue( double x ) return fResult; } -uno::Sequence< geometry::RealPoint2D > SAL_CALL PolynomialRegressionCurveCalculator::getCurveValues( - double min, double max, sal_Int32 nPointCount, - const uno::Reference< chart2::XScaling >& xScalingX, - const uno::Reference< chart2::XScaling >& xScalingY, - sal_Bool bMaySkipPointsInCalculation ) - throw (lang::IllegalArgumentException, - uno::RuntimeException, std::exception) -{ - - return RegressionCurveCalculator::getCurveValues( min, max, nPointCount, xScalingX, xScalingY, bMaySkipPointsInCalculation ); -} - OUString PolynomialRegressionCurveCalculator::ImplGetRepresentation( const uno::Reference< util::XNumberFormatter >& xNumFormatter, sal_Int32 nNumberFormatKey, sal_Int32* pFormulaMaxWidth /* = nullptr */ ) const diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx index ece662371120..440d46971222 100644 --- a/chart2/source/view/charttypes/AreaChart.cxx +++ b/chart2/source/view/charttypes/AreaChart.cxx @@ -101,11 +101,6 @@ double AreaChart::getMaximumX() return fMax; } -bool AreaChart::isExpandIfValuesCloseToBorder( sal_Int32 nDimensionIndex ) -{ - return VSeriesPlotter::isExpandIfValuesCloseToBorder( nDimensionIndex ); -} - bool AreaChart::isSeparateStackingForDifferentSigns( sal_Int32 /*nDimensionIndex*/ ) { // no separate stacking in all types of line/area charts diff --git a/chart2/source/view/charttypes/AreaChart.hxx b/chart2/source/view/charttypes/AreaChart.hxx index 14e65f8b8bd4..b1fd51023365 100644 --- a/chart2/source/view/charttypes/AreaChart.hxx +++ b/chart2/source/view/charttypes/AreaChart.hxx @@ -45,7 +45,6 @@ public: // MinimumAndMaximumSupplier virtual double getMaximumX() override; - virtual bool isExpandIfValuesCloseToBorder( sal_Int32 nDimensionIndex ) override; virtual bool isSeparateStackingForDifferentSigns( sal_Int32 nDimensionIndex ) override; virtual LegendSymbolStyle getLegendSymbolStyle() override; |