diff options
Diffstat (limited to 'xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx')
-rw-r--r-- | xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx index e1000689bd46..9de3930731ab 100644 --- a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx +++ b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx @@ -22,7 +22,6 @@ #include "xmlelementwrapper_xmlsecimpl.hxx" #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> -#include <cppuhelper/typeprovider.hxx> namespace com::sun::star::uno { class XComponentContext; } @@ -42,12 +41,7 @@ uno::Sequence< sal_Int8 > XMLElementWrapper_XmlSecImpl::getUnoTunnelId() sal_Int64 SAL_CALL XMLElementWrapper_XmlSecImpl::getSomething( const uno::Sequence< sal_Int8 >& aIdentifier ) { - if (comphelper::isUnoTunnelId<XMLElementWrapper_XmlSecImpl>(aIdentifier)) - { - return reinterpret_cast < sal_Int64 > ( this ); - } - - return 0; + return comphelper::getSomethingImpl(aIdentifier, this); } /* XServiceInfo */ |