Files
odfstudio/sd/source/ui/accessibility
Michael Weghorn 3f5a3b89ec sd a11y: Switch to override new extended attr helper
Override the OAccessible::implGetExtendedAttributes
base class method newly introduced in

    Change-Id: Ie66f135fbf6cdc98c7cdca27fa3f5fe7db7f9a74
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Mar 5 12:12:45 2026 +0100

        a11y: Introduce helper to implement XAccessibleExtendedAttributes logic

instead of manually implementing
XAccessibleExtendedAttributes::getExtendedAttributes, to
unify/deduplicate the string concatenation and locking logic
by having it implemented (only) in the base class implementation.

The handling for the "note" attribute looks a bit suspicious
because it uses a semicolon as a separate for the different
paragraphs (see the "//to divide each paragraph" comment), but
that is also the character used to separate attributes in the
string returned by
XAccessibleExtendedAttributes::getExtendedAttributes.

For now, leave the semicolon as is, but consider the
whole concatenated string the value for the "note"
attribute anyway.

Change-Id: I1a9d9c8c5545edd526229855302dbeab1b06dc7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201040
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-03-06 07:16:42 +01:00
..