From cdd14e60bb86ca565ae2a14dff5e426946250119 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 8 Mar 2018 12:29:49 +0100 Subject: loplugin:unnecessaryoverride (clang-cl) Change-Id: I96c2e28f14e50eed5b729170cd30fd54f00d89f3 Reviewed-on: https://gerrit.libreoffice.org/50944 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx | 5 ----- xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx | 4 ---- 2 files changed, 9 deletions(-) diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx index 1e479623ec0e..efa86e02edaa 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx @@ -44,7 +44,6 @@ class XMLSecurityContext_MSCryptImpl : public ::cppu::WeakImplHelper< public: XMLSecurityContext_MSCryptImpl(); - virtual ~XMLSecurityContext_MSCryptImpl() override; //Methods from XXMLSecurityContext virtual sal_Int32 SAL_CALL addSecurityEnvironment( @@ -82,10 +81,6 @@ XMLSecurityContext_MSCryptImpl::XMLSecurityContext_MSCryptImpl() { } -XMLSecurityContext_MSCryptImpl::~XMLSecurityContext_MSCryptImpl() -{ -} - sal_Int32 SAL_CALL XMLSecurityContext_MSCryptImpl::addSecurityEnvironment( const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aSecurityEnvironment) { diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx index 0a35533ccd54..dfa9c4ad494b 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx @@ -52,7 +52,6 @@ class XMLSignature_MSCryptImpl : public ::cppu::WeakImplHelper< { public: explicit XMLSignature_MSCryptImpl(); - virtual ~XMLSignature_MSCryptImpl() override; //Methods from XXMLSignature virtual css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate > SAL_CALL generate( @@ -78,9 +77,6 @@ class XMLSignature_MSCryptImpl : public ::cppu::WeakImplHelper< XMLSignature_MSCryptImpl::XMLSignature_MSCryptImpl() { } -XMLSignature_MSCryptImpl::~XMLSignature_MSCryptImpl() { -} - /* XXMLSignature */ Reference< XXMLSignatureTemplate > SAL_CALL XMLSignature_MSCryptImpl::generate( -- cgit