summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-07-21 11:55:32 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2021-07-21 14:35:49 +0200
commit4ef0af9c14fa5242d3650728947c451493646e03 (patch)
tree11e7ce2b4e6882c652c40807eaa88a6900f2ebbb /svl
parent1cfa72a83101d7ea1f89b2c20a6c29d12e8da933 (diff)
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>
Diffstat (limited to 'svl')
0 files changed, 0 insertions, 0 deletions