summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Axis.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-28 12:45:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-28 13:41:48 +0200
commitda57421b366dfd5bef840f5caeffcd030b19c643 (patch)
treea9ab7a6ba138c063866af2f2c8a4d7fc990c274f /chart2/source/model/main/Axis.cxx
parent5a394be952c0795cd12ed0eea8f5186e44814225 (diff)
commit: loplugin:checkunusedparams in chart2
Change-Id: Ia1f42e74365ca1dace93babc132ad67fd09fc99d Reviewed-on: https://gerrit.libreoffice.org/37064 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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx
index 35b5c6df84f1..69ac5871f21e 100644
--- a/chart2/source/model/main/Axis.cxx
+++ b/chart2/source/model/main/Axis.cxx
@@ -385,7 +385,7 @@ Axis::Axis( const Axis & rOther ) :
}
// late initialization to call after copy-constructing
-void Axis::Init( const Axis & /* rOther */ )
+void Axis::Init()
{
if( m_aScaleData.Categories.is())
EventListenerHelper::addListener( m_aScaleData.Categories, this );
@@ -543,7 +543,7 @@ Reference< util::XCloneable > SAL_CALL Axis::createClone()
// hold a reference to the clone
Reference< util::XCloneable > xResult( pNewAxis );
// do initialization that uses uno references to the clone
- pNewAxis->Init( *this );
+ pNewAxis->Init();
return xResult;
}