diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-03 15:12:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-04 07:15:03 +0000 |
commit | 5f77e6e9309cab4633fa8211f9788af9a9a793c9 (patch) | |
tree | b9116cbe98af0a17b2b7448d00d7aa7033b226ae /xmlsecurity | |
parent | loplugin:unusedmethods (diff) | |
download | core-5f77e6e9309cab4633fa8211f9788af9a9a793c9.tar.gz core-5f77e6e9309cab4633fa8211f9788af9a9a793c9.zip |
update loplugin:unnnecessaryvirtual to handler destructors
and update modules writerfilter..xmloff with the resulting changes
Change-Id: I54d19c22ddb0ff579b32e4934d266c925b19305c
Reviewed-on: https://gerrit.libreoffice.org/30530
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/framework/buffernode.hxx | 3 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/saxhelper.hxx | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/xmlsecurity/source/framework/buffernode.hxx b/xmlsecurity/source/framework/buffernode.hxx index 34cd10c87f83..150b47e3dabd 100644 --- a/xmlsecurity/source/framework/buffernode.hxx +++ b/xmlsecurity/source/framework/buffernode.hxx @@ -28,7 +28,7 @@ class ElementMark; class ElementCollector; -class BufferNode +class BufferNode final /****** buffernode.hxx/CLASS BufferNode *************************************** * * NAME @@ -78,7 +78,6 @@ private: public: explicit BufferNode( const css::uno::Reference< css::xml::wrapper::XXMLElementWrapper >& xXMLElement); - virtual ~BufferNode() {}; bool isECOfBeforeModifyIncluded(sal_Int32 nIgnoredSecurityId) const; void setReceivedAll(); diff --git a/xmlsecurity/source/xmlsec/saxhelper.hxx b/xmlsecurity/source/xmlsec/saxhelper.hxx index b89081a89163..58b2cb3553ee 100644 --- a/xmlsecurity/source/xmlsec/saxhelper.hxx +++ b/xmlsecurity/source/xmlsec/saxhelper.hxx @@ -31,7 +31,7 @@ /** This class represents a SAX handler which simply forwards to the corresponding libxml API and translates parameter if necessary. */ -class SAXHelper +class SAXHelper final { private: xmlParserCtxtPtr m_pParserCtxt ; @@ -39,7 +39,7 @@ class SAXHelper public: SAXHelper( ) ; - virtual ~SAXHelper() ; + ~SAXHelper() ; xmlNodePtr getCurrentNode() { return m_pParserCtxt->node;} void setCurrentNode(const xmlNodePtr pNode); |