diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-20 11:21:35 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-20 11:21:35 +0000 |
commit | f0d711f639a0d4d28f2c78bd7cd57b0bc1c8821c (patch) | |
tree | ac7760b2bb6ad659bf446636bf6a805cd058d732 /framework | |
parent | 51c99fe55ffd718c7905cc593972d77882d0e5e2 (diff) |
INTEGRATION: CWS fwk18 (1.26.38); FILE MERGED
2005/07/04 11:53:46 mba 1.26.38.1: #123967#: don't lock solar mutex on dispatching
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/menubarmanager.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index d1aa2a7ec3b7..e0754c113d07 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -2,9 +2,9 @@ * * $RCSfile: menubarmanager.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: rt $ $Date: 2005-05-13 07:29:54 $ + * last change: $Author: obo $ $Date: 2005-07-20 12:21:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1377,7 +1377,11 @@ IMPL_LINK( MenuBarManager, Select, Menu *, pMenu ) } if ( xDispatch.is() ) + { + const sal_uInt32 nRef = Application::ReleaseSolarMutex(); xDispatch->dispatch( aTargetURL, aArgs ); + Application::AcquireSolarMutex( nRef ); + } return 1; } |