Kaydet (Commit) 46a76be3 authored tarafından Caolán McNamara's avatar Caolán McNamara

restore "crash on layout of novell622972-2.html" temporarily

This reverts commit dfedebd1.
üst dfedebd1
......@@ -1239,7 +1239,12 @@ bool SwLayAction::FormatLayout( SwLayoutFrm *pLay, bool bAddRect )
aOldRect = static_cast<SwPageFrm*>(pLay)->GetBoundRect();
}
pLay->Calc();
{
//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();
}
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