diff options
author | Peter Burow <pb@openoffice.org> | 2002-08-23 09:31:52 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2002-08-23 09:31:52 +0000 |
commit | af5baf6141ed7d2fe6799d4ceeec5b21389b2894 (patch) | |
tree | bc412cc0bec89fc0a72c54357957d451e2fed99f /toolkit | |
parent | f1f3f92e0374e1e612a7be105873401c210c15fa (diff) |
fix: #102513# release SolarMutex for Notify
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxaccessiblecomponent.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx index e0ac06994164..4ae32a41094b 100644 --- a/toolkit/source/awt/vclxaccessiblecomponent.cxx +++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx @@ -2,9 +2,9 @@ * * $RCSfile: vclxaccessiblecomponent.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: tbe $ $Date: 2002-08-19 16:15:21 $ + * last change: $Author: pb $ $Date: 2002-08-23 10:31:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -192,7 +192,11 @@ IMPL_LINK( VCLXAccessibleComponent, WindowEventListener, VclSimpleEvent*, pEvent { DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "Window???" ); if( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() || ( pEvent->GetId() == VCLEVENT_OBJECT_DYING ) ) + { + ULONG nCount = Application::ReleaseSolarMutex(); ProcessWindowEvent( *(VclWindowEvent*)pEvent ); + Application::AcquireSolarMutex( nCount ); + } } return 0; } @@ -206,7 +210,11 @@ IMPL_LINK( VCLXAccessibleComponent, WindowChildEventListener, VclSimpleEvent*, p { DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "Window???" ); if( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() ) + { + ULONG nCount = Application::ReleaseSolarMutex(); ProcessWindowChildEvent( *(VclWindowEvent*)pEvent ); + Application::AcquireSolarMutex( nCount ); + } } return 0; } |