summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-08-26 16:42:37 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2022-08-26 19:36:32 +0200
commitf46ae9132d562ac3f881a663a70c50d27da4049a (patch)
tree78de7689afd137d2c040d2adb825a8cdceaa9aac /offapi
parent6cd8e893355ac838dcf5ce92bc6a456b7246475f (diff)
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.weghorn@posteo.de>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/accessibility/AccessibleEventId.idl4
1 files changed, 2 insertions, 2 deletions
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
*/