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 /include/vcl/accessiblefactory.hxx | |
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 'include/vcl/accessiblefactory.hxx')
-rw-r--r-- | include/vcl/accessiblefactory.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/accessiblefactory.hxx b/include/vcl/accessiblefactory.hxx index a13e4dabc135..fe29e3b034e8 100644 --- a/include/vcl/accessiblefactory.hxx +++ b/include/vcl/accessiblefactory.hxx @@ -26,6 +26,7 @@ #include <salhelper/simplereferenceobject.hxx> #include <tools/gen.hxx> +#include <rtl/ref.hxx> namespace com::sun::star { namespace accessibility { @@ -92,7 +93,7 @@ namespace vcl const css::uno::Reference< css::accessibility::XAccessible >& _rxParent, vcl::IAccessibleTableProvider& _rBrowseBox ) const = 0; - virtual table::IAccessibleTableControl* + virtual rtl::Reference<table::IAccessibleTableControl> createAccessibleTableControl( const css::uno::Reference< css::accessibility::XAccessible >& _rxParent, table::IAccessibleTable& _rTable |