diff options
author | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:14:06 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:14:06 +0100 |
commit | 3352d4459f39ac2d80d9d5782c37e73fbede0d08 (patch) | |
tree | 97d3759143961adfd38a10b0c47ddf667c90b757 /sw/source/core/undo/unmove.cxx | |
parent | 64602c20b7e1933be3ce4094ee5878ac873fdd20 (diff) |
undoapi: #i115383#: remove unnecessary UndoGuards:
implementations of Undo() and Redo() on SwUndo subclasses are always
called with Undo disabled from UndoManager::Undo()/Redo().
Diffstat (limited to 'sw/source/core/undo/unmove.cxx')
-rw-r--r-- | sw/source/core/undo/unmove.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/core/undo/unmove.cxx b/sw/source/core/undo/unmove.cxx index f257afd7476e..1b155a8e3c7d 100644 --- a/sw/source/core/undo/unmove.cxx +++ b/sw/source/core/undo/unmove.cxx @@ -191,7 +191,6 @@ void SwUndoMove::SetDestRange( const SwNodeIndex& rStt, void SwUndoMove::Undo( SwUndoIter& rUndoIter ) { SwDoc* pDoc = &rUndoIter.GetDoc(); - ::sw::UndoGuard const undoGuard(pDoc->GetIDocumentUndoRedo()); // Block, damit aus diesem gesprungen werden kann do { |