Kaydet (Commit) 57e6f040 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Fix fdo#45177 - avoid linked undo for the while.

While I try to wrap head around subtleties for linked undo in
Impress outline view, disable that here for the while. Better than
a crash for sure.
üst 4fa7f074
......@@ -1664,12 +1664,6 @@ void OutlineView::EndModelChange()
DBG_ASSERT( bHasUndoActions == (mrOutliner.GetUndoManager().GetUndoActionCount() != 0), "sd::OutlineView::EndModelChange(), undo actions not in sync!" );
if( bHasUndoActions )
{
SfxLinkUndoAction* pLink = new SfxLinkUndoAction(pDocUndoMgr);
mrOutliner.GetUndoManager().AddUndoAction(pLink);
}
mrOutliner.GetUndoManager().LeaveListAction();
if( bHasUndoActions && mrOutliner.GetEditEngine().HasTriedMergeOnLastAddUndo() )
......
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