diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-17 13:16:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-17 13:10:42 +0000 |
commit | bb674aa5503ff40a5619d1fb4c9f310da5f5c983 (patch) | |
tree | e9b6d62f258cded0a5f207609a61157c8d0ef4c2 /chart2/source/inc | |
parent | b79cf88a048e5d8c784c97d99155104aef3d5dca (diff) |
loplugin:unusedfields
Change-Id: Id2dbbf384637223db3d334d95332251832918003
Reviewed-on: https://gerrit.libreoffice.org/30927
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/ErrorBar.hxx | 8 | ||||
-rw-r--r-- | chart2/source/inc/RegressionCurveHelper.hxx | 8 | ||||
-rw-r--r-- | chart2/source/inc/StatisticsHelper.hxx | 1 |
3 files changed, 3 insertions, 14 deletions
diff --git a/chart2/source/inc/ErrorBar.hxx b/chart2/source/inc/ErrorBar.hxx index 107d2ab1f4d7..565e93d94af2 100644 --- a/chart2/source/inc/ErrorBar.hxx +++ b/chart2/source/inc/ErrorBar.hxx @@ -45,9 +45,6 @@ namespace chart { -OOO_DLLPUBLIC_CHARTTOOLS css::uno::Reference< css::beans::XPropertySet > createErrorBar( - const css::uno::Reference< css::uno::XComponentContext > & xContext ); - namespace impl { typedef ::cppu::WeakImplHelper< @@ -82,7 +79,7 @@ private: sal_Int32 meStyle; public: - explicit ErrorBar( const css::uno::Reference< css::uno::XComponentContext > & xContext ); + OOO_DLLPUBLIC_CHARTTOOLS explicit ErrorBar(); virtual ~ErrorBar() override; /// XServiceInfo declarations @@ -154,9 +151,6 @@ protected: throw (css::uno::RuntimeException, std::exception) override; private: - css::uno::Reference< css::uno::XComponentContext > - m_xContext; - typedef ::std::vector< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > tDataSequenceContainer; tDataSequenceContainer m_aDataSequences; diff --git a/chart2/source/inc/RegressionCurveHelper.hxx b/chart2/source/inc/RegressionCurveHelper.hxx index 4c89c234a24a..46ee61e4e0df 100644 --- a/chart2/source/inc/RegressionCurveHelper.hxx +++ b/chart2/source/inc/RegressionCurveHelper.hxx @@ -38,14 +38,11 @@ namespace chart namespace RegressionCurveHelper { /// returns a model mean-value line - css::uno::Reference<css::chart2::XRegressionCurve> - createMeanValueLine(const css::uno::Reference<css::uno::XComponentContext> & xContext ); + css::uno::Reference<css::chart2::XRegressionCurve> createMeanValueLine(); /// returns a model regression curve css::uno::Reference<css::chart2::XRegressionCurve> - createRegressionCurveByServiceName( - const css::uno::Reference<css::uno::XComponentContext> & xContext, - const OUString& aServiceName ); + createRegressionCurveByServiceName( const OUString& aServiceName ); OOO_DLLPUBLIC_CHARTTOOLS bool hasMeanValueLine( const css::uno::Reference<css::chart2::XRegressionCurveContainer> & xRegCnt ); @@ -64,7 +61,6 @@ namespace RegressionCurveHelper */ OOO_DLLPUBLIC_CHARTTOOLS void addMeanValueLine( css::uno::Reference<css::chart2::XRegressionCurveContainer>& xRegCnt, - const css::uno::Reference<css::uno::XComponentContext>& xContext, const css::uno::Reference<css::beans::XPropertySet>& xSeriesProp ); OOO_DLLPUBLIC_CHARTTOOLS void removeMeanValueLine( diff --git a/chart2/source/inc/StatisticsHelper.hxx b/chart2/source/inc/StatisticsHelper.hxx index 675f478f9b02..f6410936ca3d 100644 --- a/chart2/source/inc/StatisticsHelper.hxx +++ b/chart2/source/inc/StatisticsHelper.hxx @@ -73,7 +73,6 @@ namespace StatisticsHelper OOO_DLLPUBLIC_CHARTTOOLS css::uno::Reference< css::beans::XPropertySet > addErrorBars( const css::uno::Reference< css::chart2::XDataSeries > & xDataSeries, - const css::uno::Reference< css::uno::XComponentContext > & xContext, sal_Int32 nStyle, bool bYError = true ); |