diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-01-26 12:09:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-01-26 19:01:45 +0000 |
commit | b50d9685e8bbb9549e68e3ff0a1b625fa44e6907 (patch) | |
tree | 96c6e4ba5a055df88536fa5c98b36811be884df6 /accessibility/inc/standard | |
parent | fc2f4eb5ca457860605d0d93baa0d2198800bcbf (diff) |
Use ImplInheritanceHelper in VCLXAccessibleTextComponent
Change-Id: Iad1ae727e31908949d61d32b3828a67ac74398e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146183
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'accessibility/inc/standard')
-rw-r--r-- | accessibility/inc/standard/vclxaccessibletextcomponent.hxx | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/accessibility/inc/standard/vclxaccessibletextcomponent.hxx b/accessibility/inc/standard/vclxaccessibletextcomponent.hxx index 7bc47ac79679..cb2e20694663 100644 --- a/accessibility/inc/standard/vclxaccessibletextcomponent.hxx +++ b/accessibility/inc/standard/vclxaccessibletextcomponent.hxx @@ -22,17 +22,15 @@ #include <com/sun/star/accessibility/AccessibleScrollType.hpp> #include <toolkit/awt/vclxaccessiblecomponent.hxx> #include <comphelper/accessibletexthelper.hxx> -#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase.hxx> -typedef ::cppu::ImplHelper1 < - css::accessibility::XAccessibleText > VCLXAccessibleTextComponent_BASE; - -class VCLXAccessibleTextComponent : public VCLXAccessibleComponent, - public ::comphelper::OCommonAccessibleText, - public VCLXAccessibleTextComponent_BASE +class VCLXAccessibleTextComponent : public cppu::ImplInheritanceHelper< + VCLXAccessibleComponent, + css::accessibility::XAccessibleText>, + public ::comphelper::OCommonAccessibleText { OUString m_sText; @@ -52,12 +50,6 @@ protected: public: VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindow ); - // XInterface - DECLARE_XINTERFACE() - - // XTypeProvider - DECLARE_XTYPEPROVIDER() - // XAccessibleText virtual sal_Int32 SAL_CALL getCaretPosition() override; virtual sal_Bool SAL_CALL setCaretPosition( sal_Int32 nIndex ) override; |