Files
odfstudio/include/toolkit
Michael Weghorn 3cb6bae61d vcl a11y: Let Edit and subclasses create their accessible directly
This is the equivalent of

    commit f82aac71ed
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu May 22 12:30:12 2025 +0200

        vcl a11y: Let PushButton create its accessible directly

for Edit subclasses, see that commit's message for more background.

Since all of DateField, TimeField, MultiLineEdit and VclMultiLineEdit
are (not necessarily direct) subclasses of Edit and none of their
subclasses further up the class hierarchy than Edit override
Edit::CreateAccessible, there is no need for them to do so either,
but they can use the Edit implementation. Therefore, just drop the
corresponding methods of their VCLXWindow subclasses that were
calling `AccessibleFactory::createAccessibleContext(Edit* pEdit)`
explicitly.

(Before

    Change-Id: Ifb7452de3e011a73aa798d1ea0302bbbc74ed7d2
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu May 22 20:13:09 2025 +0200

        vcl a11y: Set DateField/TimeField window type in ctor

, two of them had some additional extra logic that might
have required them to override the base class implementation.)

Since VCLXAccessibleEdit implements the XAccessible interface
now, its SVTXAccessibleNumericField subclass no longer needs
to implement that directly.

Change-Id: I5fe96a9061afb9f51e494cdd41a27636d0aa4d74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185838
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2025-05-28 09:20:47 +02:00
..
…