From 93a9b70c7fe4d68f8d41edb25bc00bcac4439667 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 3 May 2017 15:06:07 +0200 Subject: loplugin:checkunusedparams in svtools Change-Id: Iea68d7c0683740acaf4f85c14efe2a33e0cf13e7 Reviewed-on: https://gerrit.libreoffice.org/37201 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/uno/unoimap.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svtools/source/uno/unoimap.cxx') diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index c2bf4a7145da..388b6240cb82 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -505,7 +505,7 @@ Reference< XNameReplace > SAL_CALL SvUnoImageMapObject::getEvents() class SvUnoImageMap : public WeakImplHelper< XIndexContainer, XServiceInfo, XUnoTunnel > { public: - explicit SvUnoImageMap( const SvEventDescription* pSupportedMacroItems ); + explicit SvUnoImageMap(); SvUnoImageMap( const ImageMap& rMap, const SvEventDescription* pSupportedMacroItems ); bool fillImageMap( ImageMap& rMap ) const; @@ -542,7 +542,7 @@ private: UNO3_GETIMPLEMENTATION_IMPL( SvUnoImageMap ); -SvUnoImageMap::SvUnoImageMap( const SvEventDescription* ) +SvUnoImageMap::SvUnoImageMap() { } @@ -706,9 +706,9 @@ Reference< XInterface > SvUnoImageMapPolygonObject_createInstance( const SvEvent return static_cast(new SvUnoImageMapObject( IMAP_OBJ_POLYGON, pSupportedMacroItems )); } -Reference< XInterface > SvUnoImageMap_createInstance( const SvEventDescription* pSupportedMacroItems ) +Reference< XInterface > SvUnoImageMap_createInstance() { - return static_cast(new SvUnoImageMap( pSupportedMacroItems )); + return static_cast(new SvUnoImageMap); } Reference< XInterface > SvUnoImageMap_createInstance( const ImageMap& rMap, const SvEventDescription* pSupportedMacroItems ) -- cgit