summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appdispatchprovider.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/appl/appdispatchprovider.cxx b/sfx2/source/appl/appdispatchprovider.cxx
index cc947c5a3f87..c425d9d5150f 100644
--- a/sfx2/source/appl/appdispatchprovider.cxx
+++ b/sfx2/source/appl/appdispatchprovider.cxx
@@ -132,6 +132,8 @@ Reference < XDispatch > SAL_CALL SfxAppDispatchProvider::queryDispatch(
const OUString& /*sTargetFrameName*/,
FrameSearchFlags /*eSearchFlags*/ ) throw( RuntimeException, std::exception )
{
+ SolarMutexGuard guard;
+
sal_uInt16 nId( 0 );
bool bMasterCommand( false );
Reference < XDispatch > xDisp;