summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docdraw.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-11-25 14:31:09 +0100
committerMichael Stahl <mst@openoffice.org>2010-11-25 14:31:09 +0100
commitc8c50a05e2ec57fe46bb4e54013c0b3cbd0b3b3b (patch)
treedb20f3ae7b3b6efc5a18b698c22abd90c0627845 /sw/source/core/doc/docdraw.cxx
parent3145216b7e60ac552669266e89acc92c09ce059f (diff)
unodapi: #i115383#: clean up ClearRedo() usage:
ClearRedo() is already called by AppendUndo(): remove superfluous calls of ClearRedo. implementation of ClearRedo() should not check DoesUndo(); that seems kinda pointless, and creates difficulties for refactoring.
Diffstat (limited to 'sw/source/core/doc/docdraw.cxx')
-rw-r--r--sw/source/core/doc/docdraw.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx
index 1dd1fc0d414e..b936cce27c55 100644
--- a/sw/source/core/doc/docdraw.cxx
+++ b/sw/source/core/doc/docdraw.cxx
@@ -305,7 +305,6 @@ SwDrawContact* SwDoc::GroupSelection( SdrView& rDrawView )
if( pUndo )
{
pUndo->SetGroupFmt( pFmt );
- GetIDocumentUndoRedo().ClearRedo();
GetIDocumentUndoRedo().AppendUndo( pUndo );
}
}