office-gobmx/winaccessibility/source
Michael Weghorn 1ab8cc73e0 wina11y: Drop duplicate handling for focusable state
Setting the `isFocusable` var to true and
calling `IncreaseState` for the focusable state
further down is unnecessary, as that already happens
in the line just below the variable is set.

Therefore, drop this duplication.

In addition, the now dropped call to `IncreaseState`
should have used the UNO state, AccessibleStateType::FOCUSABLE
as well, not the IAccessible state, STATE_SYSTEM_FOCUSABLE,
as AccObject::IncreaseState takes the UNO state while
CMAccessible::IncreaseState (called by the former)
takes the IAccessible/MSAA state.
The switch from the UNO to the IAccessible2 state for
the param was accidently done in

    commit a241661862
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Mon Sep 30 13:37:14 2024 +0100

        wina11y: Bridge focusable state as is

Change-Id: I4b3923897444fdc75b15fe2cd9e91ba5f405507e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174341
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-10-01 17:48:04 +02:00
..
service wina11y: Drop duplicate handling for focusable state 2024-10-01 17:48:04 +02:00
UAccCOM wina11y: Use enum class for navigation direction 2024-10-01 17:47:56 +02:00
UAccCOMIDL