diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-08-30 12:29:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-08-30 17:49:35 +0200 |
commit | 129e395935bf7330a1fe84986dd78502af36e07e (patch) | |
tree | 9f56e052b6a88eb425c578a44b2f69c3ec87b202 /vcl/source | |
parent | 3c58ea89f4bbf7ec9a0ea88a8b753209ff68af64 (diff) |
make IAccessibleBrowseBox extend cppu::WeakImplHelper
i.e. push this up from the implementation class
AccessibleBrowseBoxAccess to the interface class.
Which means we don't need the getMyself helper method, and make the
memory management simpler.
Change-Id: Icecb83834bb3f5304908bbd3682b3d2ea06dbfe0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156285
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-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 8877457641c0..278c9552b61d 100644 --- a/vcl/source/helper/svtaccessiblefactory.cxx +++ b/vcl/source/helper/svtaccessiblefactory.cxx @@ -23,6 +23,7 @@ #include <vcl/svtaccessiblefactory.hxx> #include <vcl/accessiblefactory.hxx> #include <vcl/accessibletable.hxx> +#include <vcl/accessibletableprovider.hxx> #include <tools/svlibrary.h> #include <tools/debug.hxx> @@ -92,7 +93,7 @@ namespace vcl return nullptr; } - virtual vcl::IAccessibleBrowseBox* + virtual rtl::Reference<vcl::IAccessibleBrowseBox> createAccessibleBrowseBox( const css::uno::Reference< css::accessibility::XAccessible >& /*_rxParent*/, vcl::IAccessibleTableProvider& /*_rBrowseBox*/ |