offapi/com/sun/star/accessibility/XAccessibleSelection.idl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c356b68656e57248123d333abd87803e4e89e8eb
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Mon Apr 22 18:09:28 2024 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Tue Apr 23 08:07:08 2024 +0200

    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.wegh...@posteo.de>

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);
  • core.git: offapi/com Michael Weghorn (via logerrit)

Reply via email to