summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-10-13 00:01:31 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-10-13 08:20:35 +0200
commitd0211e091e42bb85e20090dd25792648a1310751 (patch)
treeacb983e5cbdd51c365af4d76ae9ff72962bcd492 /xmlsecurity/source
parent7ada9875ac6d340918eda85bcdba17bd19a20454 (diff)
xmlsecurity: remove unused XSecController::m_xNextNodeOnSAXChain
Change-Id: Ic5fd625afe2ef53968b87d1382b257e3d44ce08b Reviewed-on: https://gerrit.libreoffice.org/43354 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/helper/xsecctl.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index 767c55fe1e87..536738933f8c 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -298,7 +298,7 @@ bool XSecController::chainOn( bool bRetrievingLastEvent )
/*
* connects the next document handler on the SAX chain
*/
- m_xSAXEventKeeper->setNextHandler( m_xNextNodeOnSAXChain );
+ m_xSAXEventKeeper->setNextHandler(uno::Reference<xml::sax::XDocumentHandler>());
m_bIsSAXEventKeeperConnected = true;
@@ -330,13 +330,13 @@ void XSecController::chainOff()
(m_xPreviousNodeOnSAXChain, cssu::UNO_QUERY);
cssu::Sequence<cssu::Any> aArgs( 1 );
- aArgs[0] <<= m_xNextNodeOnSAXChain;
+ aArgs[0] <<= uno::Reference<xml::sax::XDocumentHandler>();
xInitialization->initialize(aArgs);
}
else
{
cssu::Reference< cssxs::XParser > xParser(m_xPreviousNodeOnSAXChain, cssu::UNO_QUERY);
- xParser->setDocumentHandler( m_xNextNodeOnSAXChain );
+ xParser->setDocumentHandler(uno::Reference<xml::sax::XDocumentHandler>());
}
}
@@ -490,7 +490,6 @@ void XSecController::setSAXChainConnector(const cssu::Reference< cssl::XInitiali
{
m_bIsPreviousNodeInitializable = true;
m_xPreviousNodeOnSAXChain = xInitialization;
- m_xNextNodeOnSAXChain.clear();
m_xElementStackKeeper.clear();
initializeSAXChain( );
@@ -518,7 +517,6 @@ void XSecController::clearSAXChainConnector()
chainOff();
m_xPreviousNodeOnSAXChain = nullptr;
- m_xNextNodeOnSAXChain = nullptr;
m_xElementStackKeeper = nullptr;
}