diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx index 38ff3384a40b..a11baa98a8e9 100644 --- a/xmloff/source/transform/OOo2Oasis.cxx +++ b/xmloff/source/transform/OOo2Oasis.cxx @@ -1950,18 +1950,6 @@ void OOo2OasisTransformer::Initialize( } } -const css::uno::Sequence& OOo2OasisTransformer::getUnoTunnelId() noexcept -{ - static const comphelper::UnoIdInit theOOo2OasisTransformerUnoTunnelId; - return theOOo2OasisTransformerUnoTunnelId.getSeq(); -} - -// XUnoTunnel -sal_Int64 SAL_CALL OOo2OasisTransformer::getSomething( const Sequence< sal_Int8 >& rId ) -{ - return comphelper::getSomethingImpl(rId, this); -} - // XServiceInfo OUString SAL_CALL OOo2OasisTransformer::getImplementationName() { diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx index 01c5d72b38c3..3d7fb89c524c 100644 --- a/xmloff/source/transform/OOo2Oasis.hxx +++ b/xmloff/source/transform/OOo2Oasis.hxx @@ -77,10 +77,6 @@ public: // XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override; - // XUnoTunnel - static const css::uno::Sequence& getUnoTunnelId() noexcept; - virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; - // XImporter virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override; diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx index 7a74d2ab4f61..4f32bf894137 100644 --- a/xmloff/source/transform/Oasis2OOo.cxx +++ b/xmloff/source/transform/Oasis2OOo.cxx @@ -1943,18 +1943,6 @@ Oasis2OOoTransformer::~Oasis2OOoTransformer() noexcept XMLEventOASISTransformerContext::FlushEventMap( m_pFormEventMap ); } -const css::uno::Sequence& Oasis2OOoTransformer::getUnoTunnelId() noexcept -{ - static const class comphelper::UnoIdInit theOasis2OOoTransformerUnoTunnelId; - return theOasis2OOoTransformerUnoTunnelId.getSeq(); -} - -// XUnoTunnel -sal_Int64 SAL_CALL Oasis2OOoTransformer::getSomething( const Sequence< sal_Int8 >& rId ) -{ - return comphelper::getSomethingImpl(rId, this); -} - // XServiceInfo OUString SAL_CALL Oasis2OOoTransformer::getImplementationName() { diff --git a/xmloff/source/transform/Oasis2OOo.hxx b/xmloff/source/transform/Oasis2OOo.hxx index fe3db7ceafa8..fe41b427b6d6 100644 --- a/xmloff/source/transform/Oasis2OOo.hxx +++ b/xmloff/source/transform/Oasis2OOo.hxx @@ -48,10 +48,6 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; - // XUnoTunnel - static const css::uno::Sequence& getUnoTunnelId() noexcept; - virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; - virtual OUString GetEventName( const OUString& rName, bool bForm = false ) override; }; diff --git a/xmloff/source/transform/Transformer.hxx b/xmloff/source/transform/Transformer.hxx index 84647a5b49db..1c7569350c8f 100644 --- a/xmloff/source/transform/Transformer.hxx +++ b/xmloff/source/transform/Transformer.hxx @@ -20,7 +20,6 @@ #pragma once #include -#include #include #include #include @@ -28,8 +27,7 @@ class XMLTransformer : public ::cppu::WeakImplHelper< css::xml::sax::XExtendedDocumentHandler, css::lang::XServiceInfo, - css::lang::XInitialization, - css::lang::XUnoTunnel> + css::lang::XInitialization> { };