diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-01-23 19:21:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-01-25 18:55:06 +0000 |
commit | bbe70a7e3ddd0ebe92635afc842ec3c01294a5b7 (patch) | |
tree | ea40d15ab5e37da1a6f9c0b51f2c2ba75863acd4 /toolkit/inc | |
parent | 9fd65d8f9485f44e8f18b4e68d0e70ba154ae636 (diff) |
Use ImplInheritanceHelper in OAccessibleControlContext
Change-Id: I11d8f487df0c9e707be6a2aa98a32135643552f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146110
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'toolkit/inc')
-rw-r--r-- | toolkit/inc/controls/accessiblecontrolcontext.hxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/toolkit/inc/controls/accessiblecontrolcontext.hxx b/toolkit/inc/controls/accessiblecontrolcontext.hxx index e0c2f1a11cc9..416984c3344c 100644 --- a/toolkit/inc/controls/accessiblecontrolcontext.hxx +++ b/toolkit/inc/controls/accessiblecontrolcontext.hxx @@ -20,9 +20,8 @@ #pragma once #include <comphelper/accessiblecomponenthelper.hxx> -#include <comphelper/uno3.hxx> #include <com/sun/star/lang/XEventListener.hpp> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> #include <rtl/ref.hxx> namespace vcl { class Window; } @@ -38,8 +37,6 @@ namespace toolkit typedef ::comphelper::OAccessibleComponentHelper OAccessibleControlContext_Base; - typedef ::cppu::ImplHelper1 < css::lang::XEventListener - > OAccessibleControlContext_IBase; /** class implementing the AccessibleContext for a UNO control - to be used in design mode of the control. <p><b>life time control<b/><br/> @@ -48,8 +45,8 @@ namespace toolkit is being disposed.</p> */ class OAccessibleControlContext final - :public OAccessibleControlContext_Base - ,public OAccessibleControlContext_IBase + :public cppu::ImplInheritanceHelper< + OAccessibleControlContext_Base, css::lang::XEventListener> { public: /** creates an accessible context for a uno control @@ -61,9 +58,6 @@ namespace toolkit const css::uno::Reference< css::accessibility::XAccessible >& _rxCreator ); - // XInterface - DECLARE_XINTERFACE( ) - DECLARE_XTYPEPROVIDER( ) private: // XAccessibleContext |