Kaydet (Commit) d0211e09 authored tarafından Miklos Vajna's avatar Miklos Vajna

xmlsecurity: remove unused XSecController::m_xNextNodeOnSAXChain

Change-Id: Ic5fd625afe2ef53968b87d1382b257e3d44ce08b
Reviewed-on: https://gerrit.libreoffice.org/43354Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 7ada9875
......@@ -163,12 +163,6 @@ private:
*/
bool m_bIsPreviousNodeInitializable;
/*
* the next node on the SAX chain.
* it can always provide an XDocumentHandler interface.
*/
css::uno::Reference< css::xml::sax::XDocumentHandler > m_xNextNodeOnSAXChain;
/*
* the ElementStackKeeper is used to reserve the key SAX events.
* when the SAXEventKeeper is chained on the SAX chain, it need
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment