summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/NetChartType.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 17:35:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 08:13:44 +0100
commit44d5188b2fd8afc82aa8fda1ad4b374734129aea (patch)
tree07fae7bdc2d87332370d064f9fc81b693a477215 /chart2/source/model/template/NetChartType.cxx
parent5eba05a0582cbb836c3715089e5d3bfe1ee19ded (diff)
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/NetChartType.cxx')
-rw-r--r--chart2/source/model/template/NetChartType.cxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx
index 78e14faad28d..869a2c3bf146 100644
--- a/chart2/source/model/template/NetChartType.cxx
+++ b/chart2/source/model/template/NetChartType.cxx
@@ -38,9 +38,7 @@ using ::com::sun::star::uno::Reference;
namespace chart
{
-NetChartType_Base::NetChartType_Base(
- const uno::Reference< uno::XComponentContext > & xContext ) :
- ChartType( xContext )
+NetChartType_Base::NetChartType_Base()
{}
NetChartType_Base::NetChartType_Base( const NetChartType_Base & rOther ) :
@@ -134,9 +132,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL NetChartType_Base::getPropert
return *StaticNetChartTypeInfo::get();
}
-NetChartType::NetChartType(
- const uno::Reference< uno::XComponentContext > & xContext ) :
- NetChartType_Base( xContext )
+NetChartType::NetChartType()
{}
NetChartType::NetChartType( const NetChartType & rOther ) :
@@ -180,10 +176,10 @@ css::uno::Sequence< OUString > SAL_CALL NetChartType::getSupportedServiceNames()
} // namespace chart
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
-com_sun_star_comp_chart_NetChartType_get_implementation(css::uno::XComponentContext *context,
+com_sun_star_comp_chart_NetChartType_get_implementation(css::uno::XComponentContext * /*context*/,
css::uno::Sequence<css::uno::Any> const &)
{
- return cppu::acquire(new ::chart::NetChartType(context));
+ return cppu::acquire(new ::chart::NetChartType);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */