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/AccParagraphEventListener.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winaccessibility/source/service/AccParagraphEventListener.cxx') diff --git a/winaccessibility/source/service/AccParagraphEventListener.cxx b/winaccessibility/source/service/AccParagraphEventListener.cxx index b594c0d2d74a..d3b0b39e503b 100644 --- a/winaccessibility/source/service/AccParagraphEventListener.cxx +++ b/winaccessibility/source/service/AccParagraphEventListener.cxx @@ -23,6 +23,8 @@ #include #include +#include + #include "AccParagraphEventListener.hxx" #include "AccObjectManagerAgent.hxx" #include "unomsaaevent.hxx" @@ -44,6 +46,8 @@ AccParagraphEventListener::~AccParagraphEventListener() void AccParagraphEventListener::notifyEvent( const ::com::sun::star::accessibility::AccessibleEventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException) { + SolarMutexGuard g; + switch (aEvent.EventId) { case AccessibleEventId::CARET_CHANGED: -- cgit