diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-06 09:46:34 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-06 14:27:05 +0200 |
commit | 653588e1bbad1e4d954afa4b12325996fd1cceb7 (patch) | |
tree | e982d91c9ac49f44277091fb8bb12a93373973ac /xmlsecurity/source | |
parent | f1945405b08cad5138345882cb68c64edeeabdae (diff) |
xmlsecurity: remove unused ImplXMLSignatureListener::signatureCreated()
ImplXMLSignatureListener doesn't have to implement
XSignatureCreationResultListener, signatureCreated() is only called at
SignatureCreatorImpl::notifyResultListener(), on an object set by
SignatureCreatorImpl::addSignatureCreationResultListener(). But
addSignatureCreationResultListener() is only called from
XSecController::prepareSignatureToWrite() where the argument is of type
XSecController.
Change-Id: I378bda8b1ffdebb4305bec9eebe093aa2443b4e7
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r-- | xmlsecurity/source/helper/xmlsignaturehelper2.cxx | 6 | ||||
-rw-r--r-- | xmlsecurity/source/helper/xmlsignaturehelper2.hxx | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx index 2879336a0c55..f8e2dfc73242 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx @@ -47,12 +47,6 @@ void ImplXMLSignatureListener::setNextHandler( m_xNextHandler = xNextHandler; } -void SAL_CALL ImplXMLSignatureListener::signatureCreated( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus nResult ) -{ - XMLSignatureCreationResult aResult( securityId, nResult ); - m_rXMLSignatureHelper.SignatureCreationResultListener(aResult); -} - void SAL_CALL ImplXMLSignatureListener::signatureVerified( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus nResult ) { XMLSignatureVerifyResult aResult( securityId, nResult ); diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx index 98f9eae06389..0a560cab7e97 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx @@ -46,7 +46,6 @@ namespace embed { class ImplXMLSignatureListener : public cppu::WeakImplHelper < - css::xml::crypto::sax::XSignatureCreationResultListener, css::xml::crypto::sax::XSignatureVerifyResultListener, css::xml::sax::XDocumentHandler > @@ -63,9 +62,6 @@ public: void setNextHandler(const css::uno::Reference< css::xml::sax::XDocumentHandler >& xNextHandler); - // css::xml::crypto::sax::XSignatureCreationResultListener - virtual void SAL_CALL signatureCreated( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus creationResult ) override; - // css::xml::crypto::sax::XSignatureVerifyResultListener virtual void SAL_CALL signatureVerified( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus verifyResult ) override; |