diff options
Diffstat (limited to 'vcl/unx/gtk/a11y/atkwrapper.cxx')
-rw-r--r-- | vcl/unx/gtk/a11y/atkwrapper.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx index 951c758eeac7..6a78dce933fb 100644 --- a/vcl/unx/gtk/a11y/atkwrapper.cxx +++ b/vcl/unx/gtk/a11y/atkwrapper.cxx @@ -284,11 +284,17 @@ static AtkRole mapToAtkRole( sal_Int16 nRole ) , ATK_ROLE_DOCUMENT_PRESENTATION , ATK_ROLE_DOCUMENT_SPREADSHEET , ATK_ROLE_DOCUMENT_TEXT +#if ATK_CHECK_VERSION(2,15,2) + , ATK_ROLE_STATIC +#else + , ATK_ROLE_LABEL +#endif #else //older version should fallback to DOCUMENT_FRAME role , ATK_ROLE_DOCUMENT_FRAME , ATK_ROLE_DOCUMENT_FRAME , ATK_ROLE_DOCUMENT_FRAME + , ATK_ROLE_LABEL #endif }; |