diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-22 14:32:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-23 04:46:35 +0000 |
commit | 46d3163f779a43cc7c023a6e8141f990e5d23292 (patch) | |
tree | 99c87b90b69f3c59edb91206b364a4e5c9b1c640 /xmlsecurity/source/framework | |
parent | c2a20af2c12bf75e7378a3a9dbc50a4dddabdebc (diff) |
loplugin:unusedmethods
Change-Id: Ife4c8d948ffa116f044d43903de9485e43cfcae5
Reviewed-on: https://gerrit.libreoffice.org/32336
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/framework')
-rw-r--r-- | xmlsecurity/source/framework/elementcollector.cxx | 37 | ||||
-rw-r--r-- | xmlsecurity/source/framework/elementcollector.hxx | 3 |
2 files changed, 0 insertions, 40 deletions
diff --git a/xmlsecurity/source/framework/elementcollector.cxx b/xmlsecurity/source/framework/elementcollector.cxx index 8c28fa01d5ae..255b73200069 100644 --- a/xmlsecurity/source/framework/elementcollector.cxx +++ b/xmlsecurity/source/framework/elementcollector.cxx @@ -138,41 +138,4 @@ void ElementCollector::doNotify() } } -ElementCollector* ElementCollector::clone( - sal_Int32 nBufferId, - cssxc::sax::ElementMarkPriority nPriority ) const -/****** ElementCollector/clone ************************************************ - * - * NAME - * clone -- duplicates this ElementCollector object - * - * SYNOPSIS - * cloned = clone(nBufferId, nPriority); - * - * FUNCTION - * duplicates this ElementCollector object with new buffer Id, priority. - * - * INPUTS - * nBufferId - the buffer node's Id - * nPriority - the priority - ******************************************************************************/ -{ - ElementCollector* pClonedOne - = new ElementCollector(m_nSecurityId, - nBufferId, nPriority, m_bToModify, - m_xReferenceResolvedListener); - - if (m_bAbleToNotify) - { - pClonedOne->notifyListener(); - } - - if (m_pBufferNode != nullptr) - { - m_pBufferNode->addElementCollector(pClonedOne); - } - - return pClonedOne; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/framework/elementcollector.hxx b/xmlsecurity/source/framework/elementcollector.hxx index 286d93aea15a..21ed0af8a072 100644 --- a/xmlsecurity/source/framework/elementcollector.hxx +++ b/xmlsecurity/source/framework/elementcollector.hxx @@ -76,9 +76,6 @@ public: void setReferenceResolvedListener( const css::uno::Reference< css::xml::crypto::sax::XReferenceResolvedListener >& referenceResolvedListener); void doNotify(); - ElementCollector* clone( - sal_Int32 nId, - css::xml::crypto::sax::ElementMarkPriority nPriority ) const; }; #endif |