diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:01:49 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:01:49 +0000 |
commit | 538c884096759974adb1bc1b25e8201eb9a9defb (patch) | |
tree | a1a800296ac58d400fdc70cce70ce20b0c78ec1c /framework/source/helper/dockingareadefaultacceptor.cxx | |
parent | 1576b36539b6acb0485ee3e130132d36583003cc (diff) |
INTEGRATION: CWS vcl30stop2 (1.6.64); FILE MERGED
2008/07/24 12:20:19 pl 1.6.64.1: #i92075# solve some threading issues (thanks cd)
Diffstat (limited to 'framework/source/helper/dockingareadefaultacceptor.cxx')
-rw-r--r-- | framework/source/helper/dockingareadefaultacceptor.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/framework/source/helper/dockingareadefaultacceptor.cxx b/framework/source/helper/dockingareadefaultacceptor.cxx index c96f1b1c3f60..172a31f2ad2f 100644 --- a/framework/source/helper/dockingareadefaultacceptor.cxx +++ b/framework/source/helper/dockingareadefaultacceptor.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dockingareadefaultacceptor.cxx,v $ - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -48,6 +48,8 @@ // includes of other projects //_________________________________________________________________________________________________________________ +#include <vcl/svapp.hxx> + //_________________________________________________________________________________________________________________ // namespace //_________________________________________________________________________________________________________________ @@ -79,7 +81,8 @@ using namespace ::rtl ; //***************************************************************************************************************** DockingAreaDefaultAcceptor::DockingAreaDefaultAcceptor( const Reference< XFrame >& xOwner ) // Init baseclasses first - : OWeakObject ( ) + : ThreadHelpBase ( &Application::GetSolarMutex() ) + , OWeakObject ( ) // Init member , m_xOwner ( xOwner ) { @@ -126,6 +129,8 @@ sal_Bool SAL_CALL DockingAreaDefaultAcceptor::requestDockingAreaSpace( const css // Try to "lock" the frame for access to taskscontainer. Reference< XFrame > xFrame( m_xOwner.get(), UNO_QUERY ); + aGuard.unlock(); + if ( xFrame.is() == sal_True ) { Reference< css::awt::XWindow > xContainerWindow( xFrame->getContainerWindow() ); |