diff options
Diffstat (limited to 'vcl/unx/gtk/a11y/atkutil.cxx')
-rw-r--r-- | vcl/unx/gtk/a11y/atkutil.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx index 92905f6ec64b..e76cf990228a 100644 --- a/vcl/unx/gtk/a11y/atkutil.cxx +++ b/vcl/unx/gtk/a11y/atkutil.cxx @@ -576,9 +576,8 @@ static void handle_get_focus(::VclWindowEvent const * pEvent) } else { - if( g_aWindowList.list.find(pWindow) == g_aWindowList.list.end() ) + if( g_aWindowList.list.insert(pWindow).second ) { - g_aWindowList.list.insert(pWindow); try { rDocumentFocusListener.attachRecursive(xAccessible, xContext, xStateSet); |