[Libreoffice-commits] core.git: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 15 09:24:31 UTC 2018


 vcl/unx/gtk/a11y/atkwrapper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82a7c54ad8b9b193e767fcafb5316d3f05e21001
Author:     Samuel Thibault <sthibault at hypra.fr>
AuthorDate: Thu Aug 9 14:31:14 2018 +0200
Commit:     Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Wed Aug 15 11:24:10 2018 +0200

    a11y: Fix EDITBAR atk name
    
    ATK_ROLE_EDITBAR's nick name is actually "edit bar" (special-cased in
    atkobject.h)
    
    Change-Id: Icd4767d3513c7a5ad1774357d026922d74a42f90
    Reviewed-on: https://gerrit.libreoffice.org/58762
    Tested-by: Jenkins
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx
index 6a78dce933fb..7758f3317595 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -304,7 +304,7 @@ static AtkRole mapToAtkRole( sal_Int16 nRole )
     {
         // the accessible roles below were added to ATK in later versions,
         // with role_for_name we will know if they exist in runtime.
-        roleMap[accessibility::AccessibleRole::EDIT_BAR] = getRoleForName("editbar");
+        roleMap[accessibility::AccessibleRole::EDIT_BAR] = getRoleForName("edit bar");
         roleMap[accessibility::AccessibleRole::EMBEDDED_OBJECT] = getRoleForName("embedded");
         roleMap[accessibility::AccessibleRole::CHART] = getRoleForName("chart");
         roleMap[accessibility::AccessibleRole::CAPTION] = getRoleForName("caption");


More information about the Libreoffice-commits mailing list