diff options
author | Michael Stahl <mst@openoffice.org> | 2010-11-25 14:31:09 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-11-25 14:31:09 +0100 |
commit | c8c50a05e2ec57fe46bb4e54013c0b3cbd0b3b3b (patch) | |
tree | db20f3ae7b3b6efc5a18b698c22abd90c0627845 /sw/source/core/doc/docdraw.cxx | |
parent | 3145216b7e60ac552669266e89acc92c09ce059f (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.cxx | 1 |
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 ); } } |