[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sw/source

Caolán McNamara caolanm at redhat.com
Tue Jun 9 03:32:20 PDT 2015


 sw/source/core/layout/layact.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 64dc505ce180a168798b725423a308207de42c63
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jun 9 10:47:29 2015 +0100

    Resolves: tdf#91695 partially Revert "crash on layout of novell622972-2.html"
    
    This reverts commit 9857c6390212e16dd9f26b47b4afc5d33b5242ef.
    
    Change-Id: Id47e982eb346c092991f07964c0146daefccb031

diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 26f43ee..35a2fd2 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -1239,12 +1239,7 @@ bool SwLayAction::FormatLayout( SwLayoutFrm *pLay, bool bAddRect )
             aOldRect = static_cast<SwPageFrm*>(pLay)->GetBoundRect();
         }
 
-        {
-            //JoinLock pParent for the lifetime of the Calc call to avoid
-            //SwSectionFrm::MergeNext removing the pLay we're trying to Format
-            FlowFrmJoinLockGuard aJoinGuard(pLay);
-            pLay->Calc();
-        }
+        pLay->Calc();
 
         if ( aOldFrame != pLay->Frm() )
             bChanged = true;


More information about the Libreoffice-commits mailing list