summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Axis.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 07:28:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 10:46:26 +0200
commita63e17c6c4c8fae0ad8edd86a097a244f27f38bd (patch)
tree8b74f0a08eded38897e9e99d469244ff837c951e /chart2/source/model/main/Axis.cxx
parent756b2431f0006a01affa7c92c2dede2b11166001 (diff)
loplugin:checkunusedparams more part3
Change-Id: I621fcf7ceb27238ca86d2299dfb2b8ed03c270fd Reviewed-on: https://gerrit.libreoffice.org/40509 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/main/Axis.cxx')
-rw-r--r--chart2/source/model/main/Axis.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx
index d80334a9abb7..0f78c8b16776 100644
--- a/chart2/source/model/main/Axis.cxx
+++ b/chart2/source/model/main/Axis.cxx
@@ -336,7 +336,7 @@ void lcl_CloneSubGrids(
namespace chart
{
-Axis::Axis( Reference< uno::XComponentContext > const & /* xContext */ ) :
+Axis::Axis() :
::property::OPropertySet( m_aMutex ),
m_xModifyEventForwarder( ModifyListenerHelper::createModifyEventForwarder()),
m_aScaleData( AxisHelper::createDefaultScale() ),
@@ -641,10 +641,10 @@ css::uno::Sequence< OUString > SAL_CALL Axis::getSupportedServiceNames()
} // namespace chart
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
-com_sun_star_comp_chart2_Axis_get_implementation(css::uno::XComponentContext *context,
+com_sun_star_comp_chart2_Axis_get_implementation(css::uno::XComponentContext *,
css::uno::Sequence<css::uno::Any> const &)
{
- return cppu::acquire(new ::chart::Axis(context));
+ return cppu::acquire(new ::chart::Axis);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */