summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 15:54:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-20 20:09:23 +0200
commit1db6a4c78f688e8f9af5505e691bcae079c2348f (patch)
treee07dfcc93950470d1468f04b5e6fdfcec8576637 /xmloff
parent4dde0d06bdc00c3783cfe94e8f918a8913274c4e (diff)
loplugin:virtualdead unused param in XMLEventContextFactory::CreateContext
Change-Id: I6fda2e04724d69fd218ffc85f9881b429714e63b Reviewed-on: https://gerrit.libreoffice.org/81154 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/XMLScriptContextFactory.hxx4
-rw-r--r--xmloff/inc/XMLStarBasicContextFactory.hxx4
-rw-r--r--xmloff/source/script/XMLEventImportHelper.cxx2
-rw-r--r--xmloff/source/script/XMLScriptContextFactory.cxx3
-rw-r--r--xmloff/source/script/XMLStarBasicContextFactory.cxx3
5 files changed, 5 insertions, 11 deletions
diff --git a/xmloff/inc/XMLScriptContextFactory.hxx b/xmloff/inc/XMLScriptContextFactory.hxx
index 07027dcf16cd..029c404f00b8 100644
--- a/xmloff/inc/XMLScriptContextFactory.hxx
+++ b/xmloff/inc/XMLScriptContextFactory.hxx
@@ -45,9 +45,7 @@ public:
/// the context for the enclosing <script:events> element
XMLEventsImportContext * rEvents,
/// the event name (as understood by the API)
- const OUString & rApiEventName,
- /// the event type name (as registered)
- const OUString & rLanguage) override;
+ const OUString & rApiEventName) override;
};
#endif // INCLUDED_XMLOFF_INC_XMLSCRIPTCONTEXTFACTORY_HXX
diff --git a/xmloff/inc/XMLStarBasicContextFactory.hxx b/xmloff/inc/XMLStarBasicContextFactory.hxx
index 5ac877eacb69..8bce42b86bad 100644
--- a/xmloff/inc/XMLStarBasicContextFactory.hxx
+++ b/xmloff/inc/XMLStarBasicContextFactory.hxx
@@ -45,9 +45,7 @@ public:
/// the context for the enclosing <script:events> element
XMLEventsImportContext* rEvents,
/// the event name (as understood by the API)
- const OUString& rApiEventName,
- /// the event type name (as registered)
- const OUString& rLanguage) override;
+ const OUString& rApiEventName) override;
};
#endif
diff --git a/xmloff/source/script/XMLEventImportHelper.cxx b/xmloff/source/script/XMLEventImportHelper.cxx
index 42788bb1e0b2..1e2c39e144ae 100644
--- a/xmloff/source/script/XMLEventImportHelper.cxx
+++ b/xmloff/source/script/XMLEventImportHelper.cxx
@@ -133,7 +133,7 @@ SvXMLImportContext* XMLEventImportHelper::CreateContext(
// delegate to factory
pContext = aFactoryIterator->second->CreateContext(
rImport, nPrefix, rLocalName, xAttrList,
- rEvents, aNameIter->second, aScriptLanguage);
+ rEvents, aNameIter->second);
}
}
diff --git a/xmloff/source/script/XMLScriptContextFactory.cxx b/xmloff/source/script/XMLScriptContextFactory.cxx
index 6fbbf53a7ebf..35b13d0ed95a 100644
--- a/xmloff/source/script/XMLScriptContextFactory.cxx
+++ b/xmloff/source/script/XMLScriptContextFactory.cxx
@@ -50,8 +50,7 @@ SvXMLImportContext * XMLScriptContextFactory::CreateContext
const OUString & rLocalName,
const Reference<XAttributeList> & xAttrList,
XMLEventsImportContext * rEvents,
- const OUString & rApiEventName,
- const OUString & /*rApiLanguage*/)
+ const OUString & rApiEventName)
{
OUString sURLVal;
diff --git a/xmloff/source/script/XMLStarBasicContextFactory.cxx b/xmloff/source/script/XMLStarBasicContextFactory.cxx
index 7dd340b00301..15c7464bea80 100644
--- a/xmloff/source/script/XMLStarBasicContextFactory.cxx
+++ b/xmloff/source/script/XMLStarBasicContextFactory.cxx
@@ -52,8 +52,7 @@ SvXMLImportContext* XMLStarBasicContextFactory::CreateContext(
const OUString& rLocalName,
const Reference<XAttributeList> & xAttrList,
XMLEventsImportContext* rEvents,
- const OUString& rApiEventName,
- const OUString& /*rApiLanguage*/)
+ const OUString& rApiEventName)
{
OUString sLibraryVal;
OUString sMacroNameVal;