summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/AccessibleShape.cxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2025-03-31 10:44:21 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2025-04-01 11:19:38 +0200
commit18b7dc796fa2a72a6b56263a5dff35a80536b0af (patch)
treeda02cf4aaf1d2a3827ee9f7b4e37b3a78bb64511 /svx/source/accessibility/AccessibleShape.cxx
parenta5eb44c1e6db95ef6e3c478c7feb3b3849c1164a (diff)
editeng a11y: Merge Accessible{Context,Component}Base
AccessibleContextBase and AccessibleComponentBase are both subclassed by the exact same classes. Merge AccessibleComponentBase into AccessibleContextBase to simplify the class hierarchy. Drop now unnecessary overrides. This also aligns AccessibleContext further with the comphelper::OAccessibleExtendedComponentHelper class that also implements both, XAccessibleContext and XAccessibleExtendedComponent, and thus also prepares for potential refactoring to deduplicate code in those two classes in the future. Change-Id: Ia3331f2bd4563bf9cdfee35c9ea6cca91bd093cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183543 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'svx/source/accessibility/AccessibleShape.cxx')
-rw-r--r--svx/source/accessibility/AccessibleShape.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 7f3eb9986fe6..93281d49faec 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -851,8 +851,6 @@ uno::Sequence<uno::Type> SAL_CALL
ThrowIfDisposed ();
// Get list of types from the context base implementation, ...
uno::Sequence<uno::Type> aTypeList (AccessibleContextBase::getTypes());
- // ... get list of types from component base implementation, ...
- uno::Sequence<uno::Type> aComponentTypeList (AccessibleComponentBase::getTypes());
// ... define local types
uno::Sequence<uno::Type> localTypesList = {
cppu::UnoType<lang::XEventListener>::get(),
@@ -860,7 +858,7 @@ uno::Sequence<uno::Type> SAL_CALL
cppu::UnoType<lang::XUnoTunnel>::get()
};
- return comphelper::concatSequences(aTypeList, aComponentTypeList, localTypesList);
+ return comphelper::concatSequences(aTypeList, localTypesList);
}
// lang::XEventListener