summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-04-22 18:09:28 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-04-23 08:07:08 +0200
commitc356b68656e57248123d333abd87803e4e89e8eb (patch)
treef8d14ddb3a9ee2aa37aefdd98ea8767e41cf396a
parentediteng a11y: Switch DBG_ASSERT to real assert (diff)
downloadcore-c356b68656e57248123d333abd87803e4e89e8eb.tar.gz
core-c356b68656e57248123d333abd87803e4e89e8eb.zip
Fix XAccessibleSelection::getSelectedAccessibleChild doc
The valid indices to pass as params to `XAccessibleSelection::getSelectedAccessibleChild` depend on the the number of selected children, i.e. the return value of `XAccessibleSelection::getSelectedAccessibleChildCount`. The previously mentioned `XAccessibleRelationSet::getAccessibleChildCount` doesn't even exist. Change-Id: Iaabbc9e3972c7a8274495e19978db9eae36077fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166466 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--offapi/com/sun/star/accessibility/XAccessibleSelection.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/offapi/com/sun/star/accessibility/XAccessibleSelection.idl b/offapi/com/sun/star/accessibility/XAccessibleSelection.idl
index 206d552ee259..8be6310ba6ef 100644
--- a/offapi/com/sun/star/accessibility/XAccessibleSelection.idl
+++ b/offapi/com/sun/star/accessibility/XAccessibleSelection.idl
@@ -117,7 +117,7 @@ interface XAccessibleSelection : ::com::sun::star::uno::XInterface
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the given index does not lie in the valid range of 0 up to
the result of
- XAccessibleRelationSet::getAccessibleChildCount()-1.
+ XAccessibleSelection::getSelectedAccessibleChildCount()-1.
*/
XAccessible getSelectedAccessibleChild ([in] hyper nSelectedChildIndex)
raises (::com::sun::star::lang::IndexOutOfBoundsException);