diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-08-30 12:19:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-08-30 17:49:26 +0200 |
commit | 3c58ea89f4bbf7ec9a0ea88a8b753209ff68af64 (patch) | |
tree | 49d5c62629519099b5ff07864f8fa0fe9fbb728e /vcl | |
parent | cf1cdc00e1e2d2684cfe57ac002a37c5f3d100c5 (diff) |
make IAccessibleTableControl extend cppu::WeakImplHelper
i.e. push this up from the implementation class
AccessibleGridControlAccess to the interface class.
Which means we don't need the getMyself helper method, and make the
memory management simpler.
Change-Id: Iced5f259638531a74ce86876d1a295e105530474
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156284
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/helper/svtaccessiblefactory.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/helper/svtaccessiblefactory.cxx b/vcl/source/helper/svtaccessiblefactory.cxx index f6728732a2e7..8877457641c0 100644 --- a/vcl/source/helper/svtaccessiblefactory.cxx +++ b/vcl/source/helper/svtaccessiblefactory.cxx @@ -22,6 +22,7 @@ #include <vcl/svtaccessiblefactory.hxx> #include <vcl/accessiblefactory.hxx> +#include <vcl/accessibletable.hxx> #include <tools/svlibrary.h> #include <tools/debug.hxx> @@ -100,7 +101,7 @@ namespace vcl return nullptr; } - virtual table::IAccessibleTableControl* + virtual rtl::Reference<table::IAccessibleTableControl> createAccessibleTableControl( const css::uno::Reference< css::accessibility::XAccessible >& /*_rxParent*/, table::IAccessibleTable& /*_rTable*/ |