summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-07-20 11:21:17 +0000
committerOliver Bolte <obo@openoffice.org>2005-07-20 11:21:17 +0000
commit51c99fe55ffd718c7905cc593972d77882d0e5e2 (patch)
tree6791d97fea535f09e24d1a94220079b9c9e84cb9 /framework
parent40fe03ddb69c68b61bbbcd156a82092221ffdbe1 (diff)
INTEGRATION: CWS fwk18 (1.11.64); FILE MERGED
2005/07/04 11:53:46 mba 1.11.64.1: #123967#: don't lock solar mutex on dispatching
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/generictoolbarcontroller.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx
index b176af73ba42..a6f4dd9e29de 100644
--- a/framework/source/uielement/generictoolbarcontroller.cxx
+++ b/framework/source/uielement/generictoolbarcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: generictoolbarcontroller.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2005-04-01 16:14:02 $
+ * last change: $Author: obo $ $Date: 2005-07-20 12:21:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -332,6 +332,7 @@ throw ( RuntimeException )
IMPL_STATIC_LINK( GenericToolbarController, ExecuteHdl_Impl, ExecuteInfo*, pExecuteInfo )
{
+ const sal_uInt32 nRef = Application::ReleaseSolarMutex();
try
{
// Asynchronous execution as this can lead to our own destruction!
@@ -342,6 +343,8 @@ IMPL_STATIC_LINK( GenericToolbarController, ExecuteHdl_Impl, ExecuteInfo*, pExec
catch ( Exception& )
{
}
+
+ Application::AcquireSolarMutex( nRef );
delete pExecuteInfo;
return 0;
}