[Libreoffice-commits] core.git: accessibility/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Aug 17 11:19:36 UTC 2018
accessibility/source/standard/vclxaccessibleedit.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ac475d8d6fb68798ebd77f291bef6336e580859a
Author: Samuel Thibault <sthibault at hypra.fr>
AuthorDate: Wed Aug 8 13:39:31 2018 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Fri Aug 17 13:19:09 2018 +0200
tdf#116542 a11y: Make R/O accessibleedit use STATIC role
as improvement to tdf#86661 which had made it a LABEL as first improvement
over TEXT.
Change-Id: I0e5ee7b680ec943f38526b98cb904d0f9f916d85
Reviewed-on: https://gerrit.libreoffice.org/58736
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/accessibility/source/standard/vclxaccessibleedit.cxx b/accessibility/source/standard/vclxaccessibleedit.cxx
index bbc864d86eab..8ff501eb8b55 100644
--- a/accessibility/source/standard/vclxaccessibleedit.cxx
+++ b/accessibility/source/standard/vclxaccessibleedit.cxx
@@ -216,7 +216,7 @@ sal_Int16 VCLXAccessibleEdit::implGetAccessibleRole( )
if ( pEdit && ( pEdit->IsPassword() || pEdit->GetEchoChar() ) )
nRole = AccessibleRole::PASSWORD_TEXT;
else if ( pEdit && ( pEdit->GetStyle() & WB_READONLY ) )
- nRole = AccessibleRole::LABEL;
+ nRole = AccessibleRole::STATIC;
else
nRole = AccessibleRole::TEXT;
More information about the Libreoffice-commits
mailing list