From 3a36cf434fb4a967c9ea767cb7ac5f4da0502a0d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Apr 2017 15:09:53 +0200 Subject: loplugin:checkunusedparams in configmgr and vcl Change-Id: I7226d01f38e6edaf3868d7267d9b02dbdbc9e5ba Reviewed-on: https://gerrit.libreoffice.org/36975 Tested-by: Jenkins Reviewed-by: Noel Grandin --- configmgr/source/valueparser.cxx | 3 +-- configmgr/source/valueparser.hxx | 3 +-- configmgr/source/xcsparser.cxx | 4 ++-- configmgr/source/xcuparser.cxx | 4 ++-- 4 files changed, 6 insertions(+), 8 deletions(-) (limited to 'configmgr') diff --git a/configmgr/source/valueparser.cxx b/configmgr/source/valueparser.cxx index d26bddc481fa..10860628e491 100644 --- a/configmgr/source/valueparser.cxx +++ b/configmgr/source/valueparser.cxx @@ -275,8 +275,7 @@ xmlreader::XmlReader::Text ValueParser::getTextMode() const { } bool ValueParser::startElement( - xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name, - std::set< OUString > const *) + xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name) { if (!node_.is()) { return false; diff --git a/configmgr/source/valueparser.hxx b/configmgr/source/valueparser.hxx index 50cab466d2d4..a1d585e89587 100644 --- a/configmgr/source/valueparser.hxx +++ b/configmgr/source/valueparser.hxx @@ -51,8 +51,7 @@ public: xmlreader::XmlReader::Text getTextMode() const; bool startElement( - xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name, - std::set< OUString > const *); + xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name); bool endElement(); diff --git a/configmgr/source/xcsparser.cxx b/configmgr/source/xcsparser.cxx index 6c1b2fea9a4a..50415391e55e 100644 --- a/configmgr/source/xcsparser.cxx +++ b/configmgr/source/xcsparser.cxx @@ -125,9 +125,9 @@ xmlreader::XmlReader::Text XcsParser::getTextMode() { bool XcsParser::startElement( xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name, - std::set< OUString > const * existingDependencies) + std::set< OUString > const * /*existingDependencies*/) { - if (valueParser_.startElement(reader, nsId, name, existingDependencies)) { + if (valueParser_.startElement(reader, nsId, name)) { return true; } if (state_ == STATE_START) { diff --git a/configmgr/source/xcuparser.cxx b/configmgr/source/xcuparser.cxx index 34e0eb5973c8..bac4119262ca 100644 --- a/configmgr/source/xcuparser.cxx +++ b/configmgr/source/xcuparser.cxx @@ -72,9 +72,9 @@ xmlreader::XmlReader::Text XcuParser::getTextMode() { bool XcuParser::startElement( xmlreader::XmlReader & reader, int nsId, xmlreader::Span const & name, - std::set< OUString > const * existingDependencies) + std::set< OUString > const * /*existingDependencies*/) { - if (valueParser_.startElement(reader, nsId, name, existingDependencies)) { + if (valueParser_.startElement(reader, nsId, name)) { return true; } if (state_.empty()) { -- cgit