summaryrefslogtreecommitdiff
path: root/include/toolkit/awt
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-01-12 13:48:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-13 12:53:27 +0000
commit172aedbc51e4bd972bef3f94d562e09ee7bc8355 (patch)
treeeecdf8098e03d20fa02504c36d400c1cf492eb71 /include/toolkit/awt
parentce4193e3398e30c25ec28310a8034b4ca5513d7a (diff)
XUnoTunnel->dynamic_cast in VCLXDevice
Change-Id: I9fa06600d3b9a2172a1818f89a3b9c06d65c8c54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145467 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/toolkit/awt')
-rw-r--r--include/toolkit/awt/vclxdevice.hxx5
-rw-r--r--include/toolkit/awt/vclxwindow.hxx3
2 files changed, 0 insertions, 8 deletions
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 <toolkit/dllapi.h>
#include <com/sun/star/awt/XDevice.hpp>
-#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/implbase.hxx>
#include <vcl/virdev.hxx>
@@ -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<OutputDevice> &pOutDev ) { mpOutputDevice = pOutDev; }
const VclPtr<OutputDevice>& 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;