summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 09:35:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 14:45:43 +0200
commit73e6a7975b3508c5cfccb3df7c35b0303f87d9bb (patch)
tree0b9a2c93b1db01dd476be1479022ac5066980db9 /xmlsecurity
parent3138abfb052a4241cfca4b8d430c139cca50a85c (diff)
loplugin:unusedmethods
Change-Id: I7805ac9bc6f8c0aa5ba4804777e7d7c2c29a78f3 Reviewed-on: https://gerrit.libreoffice.org/52066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/inc/framework/signaturecreatorimpl.hxx1
-rw-r--r--xmlsecurity/inc/framework/signatureverifierimpl.hxx1
-rw-r--r--xmlsecurity/source/framework/signaturecreatorimpl.cxx24
-rw-r--r--xmlsecurity/source/framework/signatureverifierimpl.cxx21
4 files changed, 0 insertions, 47 deletions
diff --git a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx
index 8637f29395bf..435ca05ec343 100644
--- a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx
+++ b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx
@@ -61,7 +61,6 @@ private:
virtual void notifyResultListener() const override;
virtual void clearUp( ) const override;
- bool checkReady() const;
virtual void startEngine( const rtl::Reference<XMLSignatureTemplateImpl>& xSignatureTemplate) override;
public:
diff --git a/xmlsecurity/inc/framework/signatureverifierimpl.hxx b/xmlsecurity/inc/framework/signatureverifierimpl.hxx
index 7c609804aa85..b4c73fb2eec0 100644
--- a/xmlsecurity/inc/framework/signatureverifierimpl.hxx
+++ b/xmlsecurity/inc/framework/signatureverifierimpl.hxx
@@ -55,7 +55,6 @@ private:
css::uno::Reference< css::xml::crypto::XXMLSecurityContext > m_xXMLSecurityContext;
virtual void notifyResultListener() const override;
- bool checkReady() const;
virtual void startEngine( const rtl::Reference<XMLSignatureTemplateImpl>& xSignatureTemplate) override;
public:
diff --git a/xmlsecurity/source/framework/signaturecreatorimpl.cxx b/xmlsecurity/source/framework/signaturecreatorimpl.cxx
index 953a8f6ea3bb..e044f14f7e5d 100644
--- a/xmlsecurity/source/framework/signaturecreatorimpl.cxx
+++ b/xmlsecurity/source/framework/signaturecreatorimpl.cxx
@@ -43,30 +43,6 @@ SignatureCreatorImpl::~SignatureCreatorImpl( )
{
}
-bool SignatureCreatorImpl::checkReady() const
-/****** SignatureCreatorImpl/checkReady **************************************
- *
- * NAME
- * checkReady -- checks the conditions for the signature generation.
- *
- * SYNOPSIS
- * bReady = checkReady( );
- *
- * FUNCTION
- * checks whether all following conditions are satisfied:
- * 1. the result listener is ready;
- * 2. the id of the template blocker is known;
- * 3. the SignatureEngine is ready.
- *
- * RESULT
- * bReady - true if all conditions are satisfied, false otherwise
- ******************************************************************************/
-{
- return (m_xResultListener.is() &&
- (m_nIdOfBlocker != -1) &&
- SignatureEngine::checkReady());
-}
-
void SignatureCreatorImpl::notifyResultListener() const
/****** SignatureCreatorImpl/notifyResultListener *****************************
*
diff --git a/xmlsecurity/source/framework/signatureverifierimpl.cxx b/xmlsecurity/source/framework/signatureverifierimpl.cxx
index f6982ae88dc4..ac45855f3de5 100644
--- a/xmlsecurity/source/framework/signatureverifierimpl.cxx
+++ b/xmlsecurity/source/framework/signatureverifierimpl.cxx
@@ -41,27 +41,6 @@ SignatureVerifierImpl::~SignatureVerifierImpl()
{
}
-bool SignatureVerifierImpl::checkReady() const
-/****** SignatureVerifierImpl/checkReady *************************************
- *
- * NAME
- * checkReady -- checks the conditions for the signature verification.
- *
- * SYNOPSIS
- * bReady = checkReady( );
- *
- * FUNCTION
- * checks whether all following conditions are satisfied:
- * 1. the result listener is ready;
- * 2. the SignatureEngine is ready.
- *
- * RESULT
- * bReady - true if all conditions are satisfied, false otherwise
- ******************************************************************************/
-{
- return (m_xResultListener.is() && SignatureEngine::checkReady());
-}
-
void SignatureVerifierImpl::notifyResultListener() const
/****** SignatureVerifierImpl/notifyResultListener ***************************
*