diff options
author | Michael Stahl <mst@openoffice.org> | 2011-01-20 19:19:11 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-01-20 19:19:11 +0100 |
commit | 8bc2019cab507472a0412f47cea6e740ec697818 (patch) | |
tree | d9be3cb1b4cc1235e38d9aea82f78de426b62cfd /sw/source/ui/docvw/PostItMgr.cxx | |
parent | d9e7a76273396527d29503a66ed514e2a0199ceb (diff) |
undoapi: fix regression: undo comments with un-rewritten arguments:
various EndUndo() calls undo SwRewriter applications done at StartUndo().
EndUndo() should only be called with a real ID if a comment should
be generated from the ID that should become the list action comment.
Diffstat (limited to 'sw/source/ui/docvw/PostItMgr.cxx')
-rw-r--r-- | sw/source/ui/docvw/PostItMgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/PostItMgr.cxx b/sw/source/ui/docvw/PostItMgr.cxx index f5b0cc32a5ea..f45d1ee1e78c 100644 --- a/sw/source/ui/docvw/PostItMgr.cxx +++ b/sw/source/ui/docvw/PostItMgr.cxx @@ -1247,7 +1247,7 @@ void SwPostItMgr::Delete(String aAuthor) mpWrtShell->GotoField( *(*i) ); mpWrtShell->DelRight(); } - mpWrtShell->EndUndo( UNDO_DELETE ); + mpWrtShell->EndUndo(); PrepareView(); mpWrtShell->EndAllAction(); mbLayout = true; @@ -1293,7 +1293,7 @@ void SwPostItMgr::Delete() mvPostItFlds.clear(); */ - mpWrtShell->EndUndo( UNDO_DELETE ); + mpWrtShell->EndUndo(); PrepareView(); mpWrtShell->EndAllAction(); mbLayout = true; |