summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2019-06-19 00:10:12 +0300
committerStephan Bergmann <sbergman@redhat.com>2019-06-19 07:53:35 +0200
commit60271c4433372097ef5ecc74e522532ebf5af8e0 (patch)
tree323259509796f2c88366f31cd5f55bafe2ff8038 /framework/inc
parent11a1bdc5fa0312111ddf9c1b7779a114b97e361c (diff)
tdf#39593 Remove GetImplementation from ConstItemContainer and ItemContainer
Replace with comphelper::getUnoTunnelImplementation. Change-Id: I87e1d3afd3a742926c7054179092d3b58b6b4563 Reviewed-on: https://gerrit.libreoffice.org/74310 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/uielement/constitemcontainer.hxx3
-rw-r--r--framework/inc/uielement/itemcontainer.hxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx
index 5efc22b30fdb..9ed27693829d 100644
--- a/framework/inc/uielement/constitemcontainer.hxx
+++ b/framework/inc/uielement/constitemcontainer.hxx
@@ -56,8 +56,7 @@ class FWI_DLLPUBLIC ConstItemContainer : public ::cppu::WeakImplHelper<
virtual ~ConstItemContainer() override;
// XUnoTunnel
- static const css::uno::Sequence< sal_Int8 >& GetUnoTunnelId() throw();
- static ConstItemContainer* GetImplementation( const css::uno::Reference< css::uno::XInterface >& rxIFace ) throw();
+ static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() throw();
sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) override;
// XIndexAccess
diff --git a/framework/inc/uielement/itemcontainer.hxx b/framework/inc/uielement/itemcontainer.hxx
index d3fb00b56952..156d7ffd4904 100644
--- a/framework/inc/uielement/itemcontainer.hxx
+++ b/framework/inc/uielement/itemcontainer.hxx
@@ -48,8 +48,7 @@ class FWI_DLLPUBLIC ItemContainer : public ::cppu::WeakImplHelper< css::contai
// XInterface, XTypeProvider
// XUnoTunnel
- static const css::uno::Sequence< sal_Int8 >& GetUnoTunnelId() throw();
- static ItemContainer* GetImplementation( const css::uno::Reference< css::uno::XInterface >& rxIFace ) throw();
+ static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() throw();
// XIndexContainer
virtual void SAL_CALL insertByIndex( sal_Int32 Index, const css::uno::Any& Element ) override;