summaryrefslogtreecommitdiff
path: root/svtools/source/uno/unoimap.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-03 15:06:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 08:53:47 +0200
commit93a9b70c7fe4d68f8d41edb25bc00bcac4439667 (patch)
tree4ed9020aecb400df3b6805e163a360b5c8bee888 /svtools/source/uno/unoimap.cxx
parentac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b (diff)
loplugin:checkunusedparams in svtools
Change-Id: Iea68d7c0683740acaf4f85c14efe2a33e0cf13e7 Reviewed-on: https://gerrit.libreoffice.org/37201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/uno/unoimap.cxx')
-rw-r--r--svtools/source/uno/unoimap.cxx8
1 files changed, 4 insertions, 4 deletions
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<XWeak*>(new SvUnoImageMapObject( IMAP_OBJ_POLYGON, pSupportedMacroItems ));
}
-Reference< XInterface > SvUnoImageMap_createInstance( const SvEventDescription* pSupportedMacroItems )
+Reference< XInterface > SvUnoImageMap_createInstance()
{
- return static_cast<XWeak*>(new SvUnoImageMap( pSupportedMacroItems ));
+ return static_cast<XWeak*>(new SvUnoImageMap);
}
Reference< XInterface > SvUnoImageMap_createInstance( const ImageMap& rMap, const SvEventDescription* pSupportedMacroItems )