diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-04-07 12:48:34 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-04-07 15:27:38 +0200 |
commit | 61e4437c857854b331fa01da6f39b2b3b58a800b (patch) | |
tree | 1c8b9c9cc52082537c4cd4d32ea7f9256ee5b2c6 /framework | |
parent | 287df6cf083a8ebeea8d64108a9e6d74cd834319 (diff) |
Clear correct guard
Change-Id: I3f3ab91c10f3077d61a8fd0c351be75cf2e63963
Reviewed-on: https://gerrit.libreoffice.org/70375
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/layoutmanager/toolbarlayoutmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 1bd85e56b171..8d1d4aed2e0a 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -3771,7 +3771,7 @@ void SAL_CALL ToolbarLayoutManager::closed( const lang::EventObject& e ) SolarMutexClearableGuard aReadLock; bool bLayoutDirty = m_bLayoutDirty; LayoutManager* pParentLayouter( m_pParentLayouter ); - aWriteLock.clear(); + aReadLock.clear(); if ( bLayoutDirty && pParentLayouter ) pParentLayouter->requestLayout(); |