diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-07 17:35:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-08 08:13:44 +0100 |
commit | 44d5188b2fd8afc82aa8fda1ad4b374734129aea (patch) | |
tree | 07fae7bdc2d87332370d064f9fc81b693a477215 /chart2/source/model/template/CandleStickChartType.cxx | |
parent | fix mismerge (diff) | |
download | core-44d5188b2fd8afc82aa8fda1ad4b374734129aea.tar.gz core-44d5188b2fd8afc82aa8fda1ad4b374734129aea.zip |
loplugin:unusedfields
Change-Id: Id332557cbe7fb42d3d794612f26aa3ac161548d9
Reviewed-on: https://gerrit.libreoffice.org/50902
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/template/CandleStickChartType.cxx')
-rw-r--r-- | chart2/source/model/template/CandleStickChartType.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx index 619af6cb08f7..4c1e4783d68f 100644 --- a/chart2/source/model/template/CandleStickChartType.cxx +++ b/chart2/source/model/template/CandleStickChartType.cxx @@ -142,9 +142,7 @@ struct StaticCandleStickChartTypeInfo : public rtl::StaticAggregate< uno::Refere namespace chart { -CandleStickChartType::CandleStickChartType( - const uno::Reference< uno::XComponentContext > & xContext ) : - ChartType( xContext ) +CandleStickChartType::CandleStickChartType() { Reference< beans::XPropertySet > xWhiteDayProps( new ::chart::StockBar( true )); Reference< beans::XPropertySet > xBlackDayProps( new ::chart::StockBar( false )); @@ -331,10 +329,10 @@ css::uno::Sequence< OUString > SAL_CALL CandleStickChartType::getSupportedServic } // namespace chart extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * -com_sun_star_comp_chart_CandleStickChartType_get_implementation(css::uno::XComponentContext *context, +com_sun_star_comp_chart_CandleStickChartType_get_implementation(css::uno::XComponentContext * /*context*/, css::uno::Sequence<css::uno::Any> const &) { - return cppu::acquire(new ::chart::CandleStickChartType(context)); + return cppu::acquire(new ::chart::CandleStickChartType); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |