diff options
-rw-r--r-- | sfx2/source/dialog/backingcomp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx index 0654b3e38373..c4ac85fb20e3 100644 --- a/sfx2/source/dialog/backingcomp.cxx +++ b/sfx2/source/dialog/backingcomp.cxx @@ -594,6 +594,9 @@ void SAL_CALL BackingComp::disposing( /*IN*/ const css::lang::EventObject& aEven void SAL_CALL BackingComp::dispose() throw(css::uno::RuntimeException, std::exception) { + /* SAFE { */ + SolarMutexGuard aGuard; + if (m_xFrame.is()) { css::uno::Reference< css::awt::XWindow > xParentWindow = m_xFrame->getContainerWindow(); @@ -605,9 +608,6 @@ void SAL_CALL BackingComp::dispose() pSysWindow->GetNotebookBar()->Hide(); } - /* SAFE { */ - SolarMutexGuard aGuard; - // stop listening at the window if (m_xWindow.is()) { |