diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2025-01-23 17:29:32 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2025-01-24 07:38:15 +0100 |
commit | c6c471546ee82d939092da3ac25a6548145c56c9 (patch) | |
tree | 296a18144c889028fe416800d17376ec4d616f91 /toolkit/inc/controls/table/AccessibleGridControlHeaderCell.hxx | |
parent | 80409cacf1ea34f395848875d304326d2755e5c5 (diff) |
toolkit a11y: Use pointers/refs to concrete TableControl class
Use pointers/references to the concrete TableControl class
instead of the interface (abstract base class) IAccessibleTable,
now that all relevant code is located inside toolkit since
Change-Id: Ic93796bce96916192da7cfffcf1faf00905373c7
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Thu Jan 23 16:26:57 2025 +0100
a11y: Move AccessibleGridControl* classes to toolkit
and there's no more need to use an abstract interface to avoid
dependencies between multiple modules anymore.
As requested by loplugin:vclwidgets, use a VclPtr now
for AccessibleGridControlAccess::m_pTable (now renamed
to `m_xTable`).
Getting rid of the IAccessibleTable base class altogether
can be considered for a separate commit.
Change-Id: I5c8c8ae22db3a7b3e1ba8cb751482a647bb9663a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180670
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'toolkit/inc/controls/table/AccessibleGridControlHeaderCell.hxx')
-rw-r--r-- | toolkit/inc/controls/table/AccessibleGridControlHeaderCell.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/inc/controls/table/AccessibleGridControlHeaderCell.hxx b/toolkit/inc/controls/table/AccessibleGridControlHeaderCell.hxx index 8f3022807e13..20d71e381b45 100644 --- a/toolkit/inc/controls/table/AccessibleGridControlHeaderCell.hxx +++ b/toolkit/inc/controls/table/AccessibleGridControlHeaderCell.hxx @@ -19,6 +19,7 @@ #pragma once #include <controls/table/AccessibleGridControlTableCell.hxx> +#include <controls/table/tablecontrol.hxx> namespace accessibility { @@ -28,7 +29,7 @@ namespace accessibility public: AccessibleGridControlHeaderCell(sal_Int32 _nColumnRowId, const css::uno::Reference< css::accessibility::XAccessible >& rxParent, - ::vcl::table::IAccessibleTable& _rTable, + svt::table::TableControl& _rTable, ::vcl::table::AccessibleTableControlObjType _eObjType); /** @return The count of visible children. */ virtual sal_Int64 SAL_CALL getAccessibleChildCount() override; |