[Libreoffice-commits] core.git: framework/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Sun Apr 7 13:28:01 UTC 2019


 framework/source/layoutmanager/toolbarlayoutmanager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 61e4437c857854b331fa01da6f39b2b3b58a800b
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Sun Apr 7 12:48:34 2019 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Sun Apr 7 15:27:38 2019 +0200

    Clear correct guard
    
    Change-Id: I3f3ab91c10f3077d61a8fd0c351be75cf2e63963
    Reviewed-on: https://gerrit.libreoffice.org/70375
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

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();


More information about the Libreoffice-commits mailing list