From 61d49afadb2badc7572b04c73ee682afde1d2e7b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Aug 2017 13:01:54 +0200 Subject: loplugin:unusedmethods Change-Id: Id66cf12e3a59aeed1b9a7a111b841e30b248635b Reviewed-on: https://gerrit.libreoffice.org/40876 Tested-by: Jenkins Reviewed-by: Jochen Nitschke Reviewed-by: Noel Grandin --- xmlsecurity/inc/xmlsec/xmlelementwrapper_xmlsecimpl.hxx | 1 - xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx | 14 -------------- 2 files changed, 15 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/inc/xmlsec/xmlelementwrapper_xmlsecimpl.hxx b/xmlsecurity/inc/xmlsec/xmlelementwrapper_xmlsecimpl.hxx index 1967370a3928..04bc35c5bbb0 100644 --- a/xmlsecurity/inc/xmlsec/xmlelementwrapper_xmlsecimpl.hxx +++ b/xmlsecurity/inc/xmlsec/xmlelementwrapper_xmlsecimpl.hxx @@ -80,7 +80,6 @@ public: * pNode - the libxml2 node wrapped by this object */ xmlNodePtr getNativeElement( ) const { return m_pElement;} - void setNativeElement(const xmlNodePtr pNode); }; /// @throws css::uno::RuntimeException diff --git a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx index 8db182de43fc..0cdea05f4523 100644 --- a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx +++ b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx @@ -93,18 +93,4 @@ cssu::Sequence< OUString > SAL_CALL XMLElementWrapper_XmlSecImpl::getSupportedSe return XMLElementWrapper_XmlSecImpl_getSupportedServiceNames(); } - -void XMLElementWrapper_XmlSecImpl::setNativeElement(const xmlNodePtr pNode) -/****** XMLElementWrapper_XmlSecImpl/setNativeElement ************************* - * - * NAME - * setNativeElement -- Configures the libxml2 node wrapped by this object - * - * INPUTS - * pNode - the new libxml2 node to be wrapped by this object - ******************************************************************************/ -{ - m_pElement = pNode; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit