Files
loongoffice/winaccessibility/source
Michael Weghorn 4ef0af9c14 wina11y: Deduplicate mapping for IA2TextBoundaryType
Add a local function 'lcl_matchIA2TextBoundaryType'
that returns the UNO equivalent for the boundary
type and use it from all 3 places that previously
did the same mapping. Also, use the constants defined
in the 'AccessibleTextType.hpp' header rather than
hard-coding the values here again.

It is unclear to me what the

    // In New UNO IAccessibleText.idl these constant values are defined as follows:

comment refers to, which has been there since commit

    commit a18bdb3bc05e761704cc345a66a9d642bc4f4a0a
    Date:   Thu Nov 14 08:18:05 2013 +0000

        Integrate branch of IAccessible2

        Just the winaccessibility directory initially.

        Change-Id: Ia21abb8d7088646ad6c1f83b3a03e7add716b0c0

(I don't see any IAccessibleText.idl anywhere. Maybe that was
meant for some follow-up change that never took place
in the end?)

Change-Id: I6b8af2215948e8d0241e6f438c0f8cc00adc800f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119316
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-07-21 14:35:49 +02:00
..
2021-07-09 09:15:52 +02:00