summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-07 12:54:30 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-07 12:54:30 +0200
commit028d3184a822a79d19d154b3cc6a5deaa4af023f (patch)
tree3d19036893ffe1cad3b811004d0cb95d4c22095f /sfx2
parent0434aa5708d99334f445b894c48b7650732cc2cb (diff)
slidecopy: ActivateToolPanel: lock the SolarMutex, this can be entered from anywhere ...
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewfrm.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 395a0467b8c3..189c9a8aae0e 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -3418,6 +3418,8 @@ void SfxViewFrame::SetViewFrame( SfxViewFrame* pFrame )
// ---------------------------------------------------------------------------------------------------------------------
void SfxViewFrame::ActivateToolPanel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rFrame, const ::rtl::OUString& i_rPanelURL )
{
+ ::vos::OGuard aGuard( Application::GetSolarMutex() );
+
// look up the SfxFrame for the given XFrame
SfxFrame* pFrame = NULL;
for ( pFrame = SfxFrame::GetFirst(); pFrame; pFrame = SfxFrame::GetNext( *pFrame ) )