From f46ae9132d562ac3f881a663a70c50d27da4049a Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Fri, 26 Aug 2022 16:42:37 +0200 Subject: 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 --- offapi/com/sun/star/accessibility/AccessibleEventId.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'offapi') 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. -

AccessibleEventObject::OldValue contains the item to be removed.

-

AccessibleEventObject::NewValue is empty.

+

AccessibleEventObject::OldValue is empty.

+

AccessibleEventObject::NewValue contains the item that has been removed.

@since LibreOffice 4.3 */ -- cgit