diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 13:03:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-08 08:29:03 +0200 |
commit | 185ed3ddb8c01ee4465ce559e37113824f57b5c7 (patch) | |
tree | 596455ca4b9dc85666efbf06a1e1e0a3eec3ee2d /xmlsecurity/source | |
parent | d33e262a244f351febc9dbe605b05f76cb834eeb (diff) |
teach loplugin:constantparam about simple constructor calls
Change-Id: I7d2a28ab5951fbdb5a427c84e9ac4c1e32ecf9f9
Reviewed-on: https://gerrit.libreoffice.org/37280
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r-- | xmlsecurity/source/framework/elementcollector.cxx | 7 | ||||
-rw-r--r-- | xmlsecurity/source/framework/elementcollector.hxx | 1 | ||||
-rw-r--r-- | xmlsecurity/source/framework/saxeventkeeperimpl.cxx | 1 |
3 files changed, 3 insertions, 6 deletions
diff --git a/xmlsecurity/source/framework/elementcollector.cxx b/xmlsecurity/source/framework/elementcollector.cxx index 255b73200069..a4b045dbe4ec 100644 --- a/xmlsecurity/source/framework/elementcollector.cxx +++ b/xmlsecurity/source/framework/elementcollector.cxx @@ -27,16 +27,15 @@ namespace cssu = com::sun::star::uno; namespace cssxc = com::sun::star::xml::crypto; ElementCollector::ElementCollector( - sal_Int32 nSecurityId, sal_Int32 nBufferId, cssxc::sax::ElementMarkPriority nPriority, bool bToModify, const css::uno::Reference< css::xml::crypto::sax::XReferenceResolvedListener >& xReferenceResolvedListener) - :ElementMark(nSecurityId, nBufferId), + :ElementMark(cssxc::sax::ConstOfSecurityId::UNDEFINEDSECURITYID, nBufferId), m_nPriority(nPriority), m_bToModify(bToModify), - m_bAbleToNotify(false), - m_bNotified(false), + m_bAbleToNotify(false), + m_bNotified(false), m_xReferenceResolvedListener(xReferenceResolvedListener) /****** ElementCollector/ElementCollector ************************************* * diff --git a/xmlsecurity/source/framework/elementcollector.hxx b/xmlsecurity/source/framework/elementcollector.hxx index 03592acf337e..fc07fbcb6d43 100644 --- a/xmlsecurity/source/framework/elementcollector.hxx +++ b/xmlsecurity/source/framework/elementcollector.hxx @@ -63,7 +63,6 @@ private: public: ElementCollector( - sal_Int32 nSecurityId, sal_Int32 nBufferId, css::xml::crypto::sax::ElementMarkPriority nPriority, bool bToModify, diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx index 934be03f7edc..7be610c4db88 100644 --- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx +++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx @@ -815,7 +815,6 @@ sal_Int32 SAXEventKeeperImpl::createElementCollector( ElementCollector* pElementCollector = new ElementCollector( - cssxc::sax::ConstOfSecurityId::UNDEFINEDSECURITYID, nId, nPriority, bModifyElement, |