diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 15:09:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 08:32:56 +0200 |
commit | 3a36cf434fb4a967c9ea767cb7ac5f4da0502a0d (patch) | |
tree | ab1747ff3e977ad322cf05b68626879f2c68e6e0 /configmgr/source | |
parent | 74ccd02eda2d6325a27266fd935aba29b3d75020 (diff) |
loplugin:checkunusedparams in configmgr and vcl
Change-Id: I7226d01f38e6edaf3868d7267d9b02dbdbc9e5ba
Reviewed-on: https://gerrit.libreoffice.org/36975
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/valueparser.cxx | 3 | ||||
-rw-r--r-- | configmgr/source/valueparser.hxx | 3 | ||||
-rw-r--r-- | configmgr/source/xcsparser.cxx | 4 | ||||
-rw-r--r-- | configmgr/source/xcuparser.cxx | 4 |
4 files changed, 6 insertions, 8 deletions
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()) { |