diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-12-15 00:15:37 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-12-14 21:35:23 +0100 |
commit | 877205ccb1a66bec26817e9c51c53acca715c64b (patch) | |
tree | c00efbf3811b3c070e182124506a39ba3baced27 /xmloff/source/transform/OOo2Oasis.hxx | |
parent | ad65448f3a3c1186c2c86970cbb7df1c48f81ba7 (diff) |
Simplify OOo2OasisTransformer
Change-Id: I212c3196060e4038cb265d10c841ebbbeb736ec4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178478
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmloff/source/transform/OOo2Oasis.hxx')
-rw-r--r-- | xmloff/source/transform/OOo2Oasis.hxx | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx index 3d7fb89c524c..0fb278197d98 100644 --- a/xmloff/source/transform/OOo2Oasis.hxx +++ b/xmloff/source/transform/OOo2Oasis.hxx @@ -26,10 +26,10 @@ class XMLTransformerOOoEventMap_Impl; -class OOo2OasisTransformer : - public XMLTransformerBase, - public css::document::XImporter, - public css::document::XFilter +using OOo2OasisTransformer_BASE = cppu::ImplInheritanceHelper<XMLTransformerBase, + css::document::XImporter, + css::document::XFilter>; +class OOo2OasisTransformer : public OOo2OasisTransformer_BASE { OUString const m_aImplName; OUString const m_aSubServiceName; @@ -50,21 +50,6 @@ public: OUString aSubServiceName ) noexcept; virtual ~OOo2OasisTransformer() noexcept override; - // XInterface - - // (XInterface methods need to be implemented to disambiguate - // between those inherited through XMLTransformerBase and - // the new interfaces). - - virtual css::uno::Any SAL_CALL queryInterface( - const css::uno::Type& aType ) override; - - virtual void SAL_CALL acquire( ) noexcept override - { XMLTransformerBase::acquire(); }; - - virtual void SAL_CALL release( ) noexcept override - { XMLTransformerBase::release(); }; - // XInitialization virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override; @@ -74,9 +59,6 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; - // XTypeProvider - virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override; - // XImporter virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override; |