summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-16 10:13:07 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-16 15:40:43 +0200
commit58905f2778d5226472d76eb41f4a9ff35c5b4aff (patch)
tree529a6a463c58aeefebe3ac82451f0e3092d8562f /vcl/unx/gtk/a11y
parentf2e263704376d36d78087b72753c88b6dbc6a833 (diff)
fix brain fart
Diffstat (limited to 'vcl/unx/gtk/a11y')
-rw-r--r--vcl/unx/gtk/a11y/atkwrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx
index f4e0badab1f4..7ccf07b57488 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -313,7 +313,7 @@ static AtkRole mapToAtkRole( sal_Int16 nRole )
initialized = true;
}
- static const sal_Int32 nMapSize = sizeof(roleMap)/sizeof(sal_Int16);
+ static const sal_Int32 nMapSize = SAL_N_ELEMENTS(roleMap);
if( 0 <= nRole && nMapSize > nRole )
role = roleMap[nRole];