diff options
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/a11yfocustracker.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/osx/a11yfocustracker.cxx b/vcl/osx/a11yfocustracker.cxx index a84b27d38d66..b62c27edfbc7 100644 --- a/vcl/osx/a11yfocustracker.cxx +++ b/vcl/osx/a11yfocustracker.cxx @@ -248,11 +248,8 @@ void AquaA11yFocusTracker::window_got_focus(vcl::Window *pWindow) } else { - if( m_aDocumentWindowList.find(pWindow) == m_aDocumentWindowList.end() ) - { - m_aDocumentWindowList.insert(pWindow); + if( m_aDocumentWindowList.insert(pWindow).second ) m_xDocumentFocusListener->attachRecursive(xAccessible, xContext, xStateSet); - } } } |