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/ColumnChartType.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/ColumnChartType.cxx')
-rw-r--r-- | chart2/source/model/template/ColumnChartType.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx index 668cdb9d2e0b..d969cbe86108 100644 --- a/chart2/source/model/template/ColumnChartType.cxx +++ b/chart2/source/model/template/ColumnChartType.cxx @@ -122,9 +122,7 @@ struct StaticColumnChartTypeInfo : public rtl::StaticAggregate< uno::Reference< namespace chart { -ColumnChartType::ColumnChartType( - const uno::Reference< uno::XComponentContext > & xContext ) : - ChartType( xContext ) +ColumnChartType::ColumnChartType() {} ColumnChartType::ColumnChartType( const ColumnChartType & rOther ) : @@ -197,10 +195,10 @@ css::uno::Sequence< OUString > SAL_CALL ColumnChartType::getSupportedServiceName } // namespace chart extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * -com_sun_star_comp_chart_ColumnChartType_get_implementation(css::uno::XComponentContext *context, +com_sun_star_comp_chart_ColumnChartType_get_implementation(css::uno::XComponentContext * /*context*/, css::uno::Sequence<css::uno::Any> const &) { - return cppu::acquire(new ::chart::ColumnChartType(context)); + return cppu::acquire(new ::chart::ColumnChartType()); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |