diff options
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 4 | ||||
-rw-r--r-- | vcl/source/helper/xconnection.cxx | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 4b6635621ccf..88aa88ff2fa6 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -1466,6 +1466,8 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow( ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDragSource > SAL_CALL VCLXToolkit::getDragSource( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& window ) throw(::com::sun::star::uno::RuntimeException, std::exception) { + SolarMutexGuard g; + Window * pWindow = VCLUnoHelper::GetWindow( window ); if( pWindow ) @@ -1476,6 +1478,8 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow( ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDropTarget > SAL_CALL VCLXToolkit::getDropTarget( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& window ) throw(::com::sun::star::uno::RuntimeException, std::exception) { + SolarMutexGuard g; + Window * pWindow = VCLUnoHelper::GetWindow( window ); if( pWindow ) diff --git a/vcl/source/helper/xconnection.cxx b/vcl/source/helper/xconnection.cxx index 570bd7150e4a..6c86f8327c95 100644 --- a/vcl/source/helper/xconnection.cxx +++ b/vcl/source/helper/xconnection.cxx @@ -49,12 +49,14 @@ DisplayConnection::~DisplayConnection() void DisplayConnection::start() { + DBG_TESTSOLARMUTEX(); ImplSVData* pSVData = ImplGetSVData(); pSVData->mpDefInst->SetEventCallback( this ); } void DisplayConnection::terminate() { + DBG_TESTSOLARMUTEX(); ImplSVData* pSVData = ImplGetSVData(); if( pSVData ) |