summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/AccessibleContextBase.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-01-20 14:54:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-01-20 19:00:24 +0000
commitbf1bf0bcd57fdc53bbc0ea97cc83275545398916 (patch)
tree8938c0978175f949c4d91d57d6ee74a29e5700d0 /sc/source/ui/inc/AccessibleContextBase.hxx
parent3fc2a2f9170b8dcd1bf21c00f7629a24757a159f (diff)
Base ScAccessibleContextBase on WeakComponentImplHelper
...rather than on the deprecated WeakAggComponentImplHelper5. Various classes like ScAccessibleCellBase, ScAccessiblePreviewHeaderCell, and ScAccessiblePreviewTable, all deriving from ScAccessibleContextBase, had been found to implement their respective queryInterface in a way that is incompatible with the XAggregation protocol inherited via WeakAggComponentImplHelper5. It looks like no code actually made use of the XAggregation offered by this class hierarchy, so the easiest fix for those queryInterface implementations appears to switch from WeakAggComponentImplHelper5 to WeakComponentImplHelper (thereby dropping XAggregation, and thus rendering the existing queryInterface implementations OK). Change-Id: Icfd07f0606b7a56d75c32681408384dd3ff51238 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145901 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/inc/AccessibleContextBase.hxx')
-rw-r--r--sc/source/ui/inc/AccessibleContextBase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index 8fa51ea52382..0df386d6edd5 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -29,7 +29,7 @@
#include <svl/lstner.hxx>
#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase5.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase1.hxx>
namespace tools { class Rectangle; }
@@ -39,7 +39,7 @@ namespace tools { class Rectangle; }
<code>AccessibleContext</code> service.
*/
-typedef cppu::WeakAggComponentImplHelper5<
+typedef cppu::WeakComponentImplHelper<
css::accessibility::XAccessible,
css::accessibility::XAccessibleComponent,
css::accessibility::XAccessibleContext,