summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-27 08:49:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-27 09:13:25 +0100
commit48dc1e48d0fed5e00a3e4b5edf11a90fcc55b5ed (patch)
treed241315a5658db39879b6c58ca651a0e4469990a /chart2
parent4ca1789e5735e2f2926822562c19e1989c8f5ce2 (diff)
loplugin:unnecessaryoverride look for more patterns
like bool Foo::bar() { b = Super::bar(); return b; } Change-Id: I5e4c8005a3da7d7487c9039c35dcbb1d17e65bd7 Reviewed-on: https://gerrit.libreoffice.org/68418 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/charttypes/AreaChart.cxx6
-rw-r--r--chart2/source/view/charttypes/AreaChart.hxx1
2 files changed, 0 insertions, 7 deletions
diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx
index 306267c44de5..2fa4f4e66dd0 100644
--- a/chart2/source/view/charttypes/AreaChart.cxx
+++ b/chart2/source/view/charttypes/AreaChart.cxx
@@ -90,12 +90,6 @@ AreaChart::~AreaChart()
{
}
-double AreaChart::getMaximumX()
-{
- double fMax = VSeriesPlotter::getMaximumX();
- return fMax;
-}
-
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 6c8bdba51c09..786fcba8310e 100644
--- a/chart2/source/view/charttypes/AreaChart.hxx
+++ b/chart2/source/view/charttypes/AreaChart.hxx
@@ -45,7 +45,6 @@ public:
virtual css::drawing::Direction3D getPreferredDiagramAspectRatio() const override;
// MinimumAndMaximumSupplier
- virtual double getMaximumX() override;
virtual bool isSeparateStackingForDifferentSigns( sal_Int32 nDimensionIndex ) override;
virtual LegendSymbolStyle getLegendSymbolStyle() override;