From 3e1c7d12eeefdfc50b842fe34f3db657292359b9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 19 Nov 2013 20:12:23 +0100 Subject: winaccessibility: replace mysterious and inexplicable locking strategy Do the conservative thing and lock the SolarMutex at every UNO API entry point. Change-Id: I51afffada975df7ee3435784aa050a2c19cd0ac8 --- winaccessibility/source/service/AccTopWindowListener.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winaccessibility/source/service/AccTopWindowListener.cxx') diff --git a/winaccessibility/source/service/AccTopWindowListener.cxx b/winaccessibility/source/service/AccTopWindowListener.cxx index c812ea965ce9..87b4b9f7e1db 100644 --- a/winaccessibility/source/service/AccTopWindowListener.cxx +++ b/winaccessibility/source/service/AccTopWindowListener.cxx @@ -24,6 +24,7 @@ #include #include +#include #include "AccTopWindowListener.hxx" #include "unomsaaevent.hxx" @@ -141,6 +142,8 @@ void AccTopWindowListener::windowOpened( const ::com::sun::star::lang::EventObje if ( !pAccessible ) return; + SolarMutexGuard g; + HandleWindowOpened( pAccessible ); } -- cgit v1.2.3