diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-04-24 14:39:46 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-04-24 23:04:35 +0200 |
commit | d4f6534e8870e8f271984c37ce54a6878f372ae1 (patch) | |
tree | a436e84d416170538a3b554ec15b5a471716d2ae /offapi/com/sun/star/accessibility | |
parent | b6a8fec62cb7576ac8a94a76ca88256eb4f97695 (diff) |
[API CHANGE] a11y: Use XAccessible for relation targets
Use a Sequence of XAccessible rather than its base
interface XInterface for AccessibleRelation's TargetSet.
As the targets are accessible objects as well,
anything other than XAccessible doesn't make much sense.
Using XAccessible right away makes that clearer and avoids
the need to query the XAccessible interface.
(The winaccessibility bridge was already using
`static_cast`, relying on the fact that the objects
are XAccessibles.)
The a11y UNO API is not published, so an API change
should be unproblematic.
Change-Id: I7f08e98d1ec303d5343d9a7954187cdd71495ebc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166586
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'offapi/com/sun/star/accessibility')
-rw-r--r-- | offapi/com/sun/star/accessibility/AccessibleRelation.idl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/offapi/com/sun/star/accessibility/AccessibleRelation.idl b/offapi/com/sun/star/accessibility/AccessibleRelation.idl index b00ae6952941..e2228dcea0cf 100644 --- a/offapi/com/sun/star/accessibility/AccessibleRelation.idl +++ b/offapi/com/sun/star/accessibility/AccessibleRelation.idl @@ -46,7 +46,7 @@ struct AccessibleRelation INVALID. The set must not contain references to one object more than once.</p> */ - sequence< ::com::sun::star::uno::XInterface> TargetSet; + sequence<::com::sun::star::accessibility::XAccessible> TargetSet; }; }; }; }; }; |