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

xmlsecurity: last 2 params of setSAXChainConnector() is always nullptr

So remove them.

Change-Id: Iec2430af6634608bdc8c4beff6078ccceb7a2391
Reviewed-on: https://gerrit.libreoffice.org/43182Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst b94eb50b
......@@ -339,10 +339,7 @@ public:
const css::uno::Reference<
css::xml::crypto::XXMLSecurityContext >& xSecurityContext );
void setSAXChainConnector(
const css::uno::Reference< css::lang::XInitialization >& xInitialization,
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xDocumentHandler,
const css::uno::Reference< css::xml::crypto::sax::XElementStackKeeper >& xElementStackKeeper);
void setSAXChainConnector(const css::uno::Reference< css::lang::XInitialization >& xInitialization);
void clearSAXChainConnector();
void endMission();
......
......@@ -474,10 +474,7 @@ void XSecController::startMission(
m_bVerifyCurrentSignature = false;
}
void XSecController::setSAXChainConnector(
const cssu::Reference< cssl::XInitialization >& xInitialization,
const cssu::Reference< cssxs::XDocumentHandler >& xDocumentHandler,
const cssu::Reference< cssxc::sax::XElementStackKeeper >& xElementStackKeeper)
void XSecController::setSAXChainConnector(const cssu::Reference< cssl::XInitialization >& xInitialization)
/****** XSecController/setSAXChainConnector ***********************************
*
* NAME
......@@ -485,21 +482,16 @@ void XSecController::setSAXChainConnector(
* collaborate with the SAXEventKeeper on the SAX chain.
*
* SYNOPSIS
* setSAXChainConnector( xInitialization,
* xDocumentHandler,
* xElementStackKeeper );
* setSAXChainConnector(xInitialization);
*
* INPUTS
* xInitialization - the previous node on the SAX chain
* xDocumentHandler - the next node on the SAX chain
* xElementStackKeeper - the ElementStackKeeper component which reserves
* missed key SAX events for the SAXEventKeeper
******************************************************************************/
{
m_bIsPreviousNodeInitializable = true;
m_xPreviousNodeOnSAXChain = xInitialization;
m_xNextNodeOnSAXChain = xDocumentHandler;
m_xElementStackKeeper = xElementStackKeeper;
m_xNextNodeOnSAXChain.clear();
m_xElementStackKeeper.clear();
initializeSAXChain( );
}
......
......@@ -466,7 +466,7 @@ cssu::Reference< cssxs::XDocumentHandler > const & XSecController::createSignatu
m_xSecParser = new XSecParser(rXMLSignatureHelper, this);
cssu::Reference< cssl::XInitialization > xInitialization(m_xSecParser, uno::UNO_QUERY);
setSAXChainConnector(xInitialization, nullptr, nullptr);
setSAXChainConnector(xInitialization);
return m_xSecParser;
}
......
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