crashtesting: crash on layout of ooo107760-1.doc
this has begun crashing since...
commit 8f2dd1df1d
Author: Khaled Hosny <khaledhosny@eglug.org>
Date: Wed Nov 2 23:52:06 2016 +0200
"Enable the new text layout engine by default"
but its presumably blameless
Change-Id: I5d9bfcd3277ce6b71dce8dced6947ab38b12f148
This commit is contained in:
@@ -587,6 +587,7 @@ void SwFlowFrame::MoveSubTree( SwLayoutFrame* pParent, SwFrame* pSibling )
|
|||||||
//SwSectionFrame::MergeNext removing the pParent we're trying to reparent
|
//SwSectionFrame::MergeNext removing the pParent we're trying to reparent
|
||||||
//into
|
//into
|
||||||
FlowFrameJoinLockGuard aJoinGuard(pParent);
|
FlowFrameJoinLockGuard aJoinGuard(pParent);
|
||||||
|
SwFrameDeleteGuard aDeleteGuard(pParent);
|
||||||
pOldParent = CutTree( &m_rThis );
|
pOldParent = CutTree( &m_rThis );
|
||||||
bInvaLay = PasteTree( &m_rThis, pParent, pSibling, pOldParent );
|
bInvaLay = PasteTree( &m_rThis, pParent, pSibling, pOldParent );
|
||||||
}
|
}
|
||||||
|
@@ -963,8 +963,11 @@ void SwContentFrame::Cut()
|
|||||||
if( pTmp )
|
if( pTmp )
|
||||||
pTmp->InvalidatePrt_();
|
pTmp->InvalidatePrt_();
|
||||||
}
|
}
|
||||||
pUp->Cut();
|
if (!pUp->IsDeleteForbidden())
|
||||||
SwFrame::DestroyFrame(pUp);
|
{
|
||||||
|
pUp->Cut();
|
||||||
|
SwFrame::DestroyFrame(pUp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user