[Libreoffice-commits] core.git: vcl/qt5
Michael Weghorn (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 21 05:43:56 UTC 2021
vcl/qt5/Qt5AccessibleWidget.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit add4f7732840d362cb703ee3a894edfe2fd0eac3
Author: Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Wed Jul 21 05:54:44 2021 +0200
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Jul 21 07:43:22 2021 +0200
qt5 a11y: Handle AccessibleStateType::MULTI_LINE
This addresses warnings like
warn:vcl.qt5:53343:53343:vcl/qt5/Qt5AccessibleWidget.cxx:639: Unmapped state: 17
seen e.g. when navigating to a Writer paragraph in Accerciser when
using LO with the kf5 VCL plugin.
With this in place, the "multi line" state is correctly shown in
Accerciser.
Change-Id: Ib38a7374d9c81f2d5c361809583f711f4eadccba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119295
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>
diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
index fdce6e41fc87..ee93bc6a21de 100644
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
@@ -590,6 +590,9 @@ void lcl_addState(QAccessible::State* state, sal_Int16 nState)
case AccessibleStateType::MOVEABLE:
state->movable = true;
break;
+ case AccessibleStateType::MULTI_LINE:
+ state->multiLine = true;
+ break;
case AccessibleStateType::OPAQUE:
// No match
break;
More information about the Libreoffice-commits
mailing list