Kaydet (Commit) 64dc505c authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#91695 partially Revert "crash on layout of novell622972-2.html"

This reverts commit 9857c639.

Change-Id: Id47e982eb346c092991f07964c0146daefccb031
üst 233a52af
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment