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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 17 11:22:04 UTC 2018


 vcl/unx/gtk/a11y/atkwrapper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5ee3c68d1633c7b544b06372da298380ac81d04d
Author:     Samuel Thibault <sthibault at hypra.fr>
AuthorDate: Thu Aug 9 14:32:31 2018 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Fri Aug 17 13:21:38 2018 +0200

    a11y: Use ATK "footnote" role
    
    instead of "comment" which is less precise.
    
    Change-Id: Icca55a3c440748f311d896aac648a7a6d89f3bc4
    Reviewed-on: https://gerrit.libreoffice.org/58763
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx
index 7758f3317595..e72275e77466 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -317,8 +317,8 @@ static AtkRole mapToAtkRole( sal_Int16 nRole )
         roleMap[accessibility::AccessibleRole::IMAGE_MAP] = getRoleForName("image map");
         roleMap[accessibility::AccessibleRole::TREE_ITEM] = getRoleForName("tree item");
         roleMap[accessibility::AccessibleRole::HYPER_LINK] = getRoleForName("link");
-        roleMap[accessibility::AccessibleRole::END_NOTE] = getRoleForName("comment");
-        roleMap[accessibility::AccessibleRole::FOOTNOTE] = getRoleForName("comment");
+        roleMap[accessibility::AccessibleRole::END_NOTE] = getRoleForName("footnote");
+        roleMap[accessibility::AccessibleRole::FOOTNOTE] = getRoleForName("footnote");
         roleMap[accessibility::AccessibleRole::NOTE] = getRoleForName("comment");
 
         initialized = true;


More information about the Libreoffice-commits mailing list