From 172aedbc51e4bd972bef3f94d562e09ee7bc8355 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Jan 2023 13:48:24 +0200 Subject: XUnoTunnel->dynamic_cast in VCLXDevice Change-Id: I9fa06600d3b9a2172a1818f89a3b9c06d65c8c54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145467 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/fmgridif.hxx | 3 --- include/toolkit/awt/vclxdevice.hxx | 5 ----- include/toolkit/awt/vclxwindow.hxx | 3 --- 3 files changed, 11 deletions(-) (limited to 'include') diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx index f3e7f25cd32f..e3cce3952b3a 100644 --- a/include/svx/fmgridif.hxx +++ b/include/svx/fmgridif.hxx @@ -378,9 +378,6 @@ public: // late constructor, to always be called after the real constructor! void Create(vcl::Window* pParent, WinBits nStyle); -// css::lang::XUnoTunnel - UNO3_GETIMPLEMENTATION_DECL(FmXGridPeer) - // css::form::XGridPeer virtual css::uno::Reference< css::container::XIndexContainer > SAL_CALL getColumns( ) override; virtual void SAL_CALL setColumns( const css::uno::Reference< css::container::XIndexContainer >& aColumns ) override final; diff --git a/include/toolkit/awt/vclxdevice.hxx b/include/toolkit/awt/vclxdevice.hxx index c24b79be110c..08a12a65353e 100644 --- a/include/toolkit/awt/vclxdevice.hxx +++ b/include/toolkit/awt/vclxdevice.hxx @@ -22,7 +22,6 @@ #include #include -#include #include #include #include @@ -34,7 +33,6 @@ class TOOLKIT_DLLPUBLIC VCLXDevice : public cppu::WeakImplHelper< css::awt::XDevice, - css::lang::XUnoTunnel, css::awt::XUnitConversion> { friend class VCLXGraphics; @@ -50,9 +48,6 @@ public: void SetOutputDevice( const VclPtr &pOutDev ) { mpOutputDevice = pOutDev; } const VclPtr& GetOutputDevice() const { return mpOutputDevice; } - // css::lang::XUnoTunnel - UNO3_GETIMPLEMENTATION_DECL(VCLXDevice) - // css::awt::XDevice, css::uno::Reference< css::awt::XGraphics > SAL_CALL createGraphics( ) override; css::uno::Reference< css::awt::XDevice > SAL_CALL createDevice( sal_Int32 nWidth, sal_Int32 nHeight ) override; diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx index 9f3226ee6add..30073236aa8a 100644 --- a/include/toolkit/awt/vclxwindow.hxx +++ b/include/toolkit/awt/vclxwindow.hxx @@ -141,9 +141,6 @@ public: bool IsDisposed() const; - // css::lang::XUnoTunnel - UNO3_GETIMPLEMENTATION_DECL(VCLXWindow) - // css::lang::XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; -- cgit