diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-10-28 14:01:04 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-10-28 20:36:30 +0200 |
commit | d13307b93bfc21c7e5996c43e359906c255b0830 (patch) | |
tree | 160d340864f6ea67114028d69a4bad1c00995bc7 | |
parent | eec233bf33ac0d9ac1ba0ecc669a5ecf58626ef2 (diff) |
XAccessibleSelection: Don't reference non-existing methods in doc
There are no 'XAccessibleSelection::deselectSelectedChild'
and 'XAccessibleSelection::getSelectedChild' methods, so don't
mention them in the documentation for
'getSelectedAccessibleChildCount'.
First, there's 'XAccessibleSelection::getSelectedAccessibleChild',
but not 'XAccessibleSelection::getSelectedChild', so update that
accordingly.
Second, there's no 'XAccessibleSelection::deselectSelectedChild',
and 'XAccessibleSelection::deselectAccessibleChild' doesn't take an
index into the selection, but a child index, s. its documentation
and the commit message of pending Gerrit change
Change-Id: I3c63c647e61baaa6288ffd545d8d89d8b94231de
("gtk3 a11y: Use correct index when deselecting child")
on how the semantics of AT-SPI functions with corresponding
names differ.
(The comment was added in
commit daacf7ed0bc8a1a2447c4b1cb340c97f82918af8
Date: Thu Apr 24 16:35:46 2003 +0000
INTEGRATION: CWS uaa02 (1.1.2); FILE ADDED
2003/04/02 10:06:50 obr 1.1.2.3: #108113# Renamed deselectSelectedAccessibleChild to deselectAccessibleChild
2003/03/14 10:40:52 af 1.1.2.2: #108113# Removed references to the drafts directory.
2003/03/11 15:00:39 af 1.1.2.1: #108113# Moved from drafts/com/sun/star/accessibility.
and
> 2003/04/02 10:06:50 obr 1.1.2.3: #108113# Renamed deselectSelectedAccessibleChild to deselectAccessibleChild
sounds like there might temporarily have existed a draft implementation
that actually took an index into the selection rather than
a child index.)
Change-Id: Ib8eeadd1ffe8e05b87422e3f9d5c4b3fcc6b696d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124332
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r-- | offapi/com/sun/star/accessibility/XAccessibleSelection.idl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/offapi/com/sun/star/accessibility/XAccessibleSelection.idl b/offapi/com/sun/star/accessibility/XAccessibleSelection.idl index cc10cca44177..0d9d18820d02 100644 --- a/offapi/com/sun/star/accessibility/XAccessibleSelection.idl +++ b/offapi/com/sun/star/accessibility/XAccessibleSelection.idl @@ -97,9 +97,8 @@ interface XAccessibleSelection : ::com::sun::star::uno::XInterface selected. <p>This number specifies the valid interval of indices that can be - used as arguments for the methods - XAccessibleSelection::getSelectedChild() and - XAccessibleSelection::deselectSelectedChild().</p> + used as arguments for the method + XAccessibleSelection::getSelectedAccessibleChild().</p> @return Returns the number of selected children of this object or 0 if |