summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 19:03:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 19:27:55 +0100
commit38d9e38981a8ade60bb627b00197ecd28fb9158e (patch)
tree85573acca3fe6eaf6ce9b3173a0dc3cdf30845f3 /chart2
parent1376f86f3fdfb80008687d8b5e8db2b5434b9d7e (diff)
loplugin:unusedfields
Change-Id: Ib2314f23efe953398ed0a5e88305842c812e18bb Reviewed-on: https://gerrit.libreoffice.org/85708 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/inc/VSeriesPlotter.hxx2
-rw-r--r--chart2/source/view/main/ChartView.cxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx
index 7b799eb9c4bf..cd7466e250ce 100644
--- a/chart2/source/view/inc/VSeriesPlotter.hxx
+++ b/chart2/source/view/inc/VSeriesPlotter.hxx
@@ -241,7 +241,6 @@ public:
// Methods for number formats and color schemes
void setNumberFormatsSupplier( const css::uno::Reference< css::util::XNumberFormatsSupplier > & xNumFmtSupplier );
- void setAxesNumberFormats( const AxesNumberFormats& rAxesNumberFormats ) { m_aAxesNumberFormats = rAxesNumberFormats; };
void setColorScheme( const css::uno::Reference< css::chart2::XColorScheme >& xColorScheme );
@@ -427,7 +426,6 @@ protected:
Date m_aNullDate;
std::unique_ptr< NumberFormatterWrapper > m_apNumberFormatterWrapper;
- AxesNumberFormats m_aAxesNumberFormats;//direct numberformats on axes, if empty ask the data series instead
css::uno::Reference< css::chart2::XColorScheme > m_xColorScheme;
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 7e8f470d458b..187b4abda18a 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -765,7 +765,6 @@ void SeriesPlotterContainer::setNumberFormatsFromAxes()
}
}
}
- pSeriesPlotter->setAxesNumberFormats( aAxesNumberFormats );
}
}
}