summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 13:12:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 09:15:42 +0200
commit933592b2010e544440f17d6fd2489a019b1be9cd (patch)
tree4897d31d269811a00681cff854d0ce2092d4d08b /sw
parent49e0127419dbad8a75f1899db02115a2fe54aacd (diff)
loplugin:virtualdead unused param in SvXMLImportItemMapper::handleSpecialItem
Change-Id: Ie1a8fdafb64f6374ae9108dbb47592b044703cc9 Reviewed-on: https://gerrit.libreoffice.org/81008 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/xmlimpit.cxx6
-rw-r--r--sw/source/filter/xml/xmlimpit.hxx3
-rw-r--r--sw/source/filter/xml/xmlitemi.cxx6
3 files changed, 5 insertions, 10 deletions
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx
index 0ba10f9cfd25..2436e2e4f1c8 100644
--- a/sw/source/filter/xml/xmlimpit.cxx
+++ b/sw/source/filter/xml/xmlimpit.cxx
@@ -133,8 +133,7 @@ void SvXMLImportItemMapper::importXML( SfxItemSet& rSet,
else
{
bPut = handleSpecialItem( *pEntry, *pNewItem, rSet,
- rValue, rUnitConverter,
- rNamespaceMap );
+ rValue, rUnitConverter );
}
if( bPut )
@@ -192,8 +191,7 @@ SvXMLImportItemMapper::handleSpecialItem( const SvXMLItemMapEntry& /*rEntry*/,
SfxPoolItem& /*rItem*/,
SfxItemSet& /*rSet*/,
const OUString& /*rValue*/,
- const SvXMLUnitConverter& /*rUnitConverter*/,
- const SvXMLNamespaceMap& /*rNamespaceMap*/ )
+ const SvXMLUnitConverter& /*rUnitConverter*/ )
{
OSL_FAIL( "unsupported special item in xml import" );
return false;
diff --git a/sw/source/filter/xml/xmlimpit.hxx b/sw/source/filter/xml/xmlimpit.hxx
index d6c19b20bea3..ff6920faac17 100644
--- a/sw/source/filter/xml/xmlimpit.hxx
+++ b/sw/source/filter/xml/xmlimpit.hxx
@@ -49,8 +49,7 @@ public:
SfxPoolItem& rItem,
SfxItemSet& rSet,
const OUString& rValue,
- const SvXMLUnitConverter& rUnitConverter,
- const SvXMLNamespaceMap& rNamespaceMap );
+ const SvXMLUnitConverter& rUnitConverter );
/** this method is called for every item that has the
MID_SW_FLAG_NO_ITEM_IMPORT flag set */
diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx
index b14f28bc7534..e6542b33157d 100644
--- a/sw/source/filter/xml/xmlitemi.cxx
+++ b/sw/source/filter/xml/xmlitemi.cxx
@@ -63,8 +63,7 @@ public:
SfxPoolItem& rItem,
SfxItemSet& rSet,
const OUString& rValue,
- const SvXMLUnitConverter& rUnitConverter,
- const SvXMLNamespaceMap& rNamespaceMap ) override;
+ const SvXMLUnitConverter& rUnitConverter ) override;
virtual bool
handleNoItem(SvXMLItemMapEntry const& rEntry,
@@ -114,8 +113,7 @@ bool SwXMLImportTableItemMapper_Impl::handleSpecialItem(
SfxPoolItem& rItem,
SfxItemSet& rItemSet,
const OUString& rValue,
- const SvXMLUnitConverter& rUnitConv,
- const SvXMLNamespaceMap& )
+ const SvXMLUnitConverter& rUnitConv )
{
bool bRet = false;
sal_uInt16 nMemberId = static_cast< sal_Int16 >(rEntry.nMemberId & MID_SW_FLAG_MASK);