offapi/com/sun/star/accessibility/AccessibleEventId.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit f46ae9132d562ac3f881a663a70c50d27da4049a Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri Aug 26 16:42:37 2022 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Fri Aug 26 19:36:32 2022 +0200 a11y: Align SELECTION_CHANGED_REMOVE doc with reality While the documentation for `AccessibleEventId::SELECTION_CHANGED_REMOVE` said that the removed item is set in `AccessibleEventObject::OldValue`, all places that set the removed item in that type of event actually set it in `AccessibleEventObject::NewValue` and e.g. winaccessibility's `AccContainerEventListener::HandleSelectionChangedRemoveEvent` also handles the event with that assumption, so adapt the doc accordingly. (There are also various places that send `SELECTION_CHANGED_REMOVE` events without setting any of the two.) Change-Id: Ib49068715d9436a99e79d13f2c9720a52a094a76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138881 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/offapi/com/sun/star/accessibility/AccessibleEventId.idl b/offapi/com/sun/star/accessibility/AccessibleEventId.idl index 782fe422b7ba..375d04085204 100644 --- a/offapi/com/sun/star/accessibility/AccessibleEventId.idl +++ b/offapi/com/sun/star/accessibility/AccessibleEventId.idl @@ -396,8 +396,8 @@ constants AccessibleEventId /** An item in a container has been removed from the selection. - <p>AccessibleEventObject::OldValue contains the item to be removed.</p> - <p>AccessibleEventObject::NewValue is empty.</p> + <p>AccessibleEventObject::OldValue is empty.</p> + <p>AccessibleEventObject::NewValue contains the item that has been removed.</p> @since LibreOffice 4.3 */