summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-02-15 16:51:52 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-02-15 16:53:08 +0100
commit57e6f04066cfddfa79eb2b79cf5c45653c79eff3 (patch)
treee994af3f2ef4912d0a4a8a90500cd0930183374a
parent4fa7f074b38a65a6e0b5e9ceb164f31ce8086042 (diff)
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.
-rw-r--r--sd/source/ui/view/outlview.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 8d4d1cc01fb3..f4c9dfe03671 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -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() )