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/lingu | |
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/lingu')
-rw-r--r-- | sw/source/ui/lingu/olmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx index d10d0fdec41a..352580707f74 100644 --- a/sw/source/ui/lingu/olmenu.cxx +++ b/sw/source/ui/lingu/olmenu.cxx @@ -788,7 +788,7 @@ void SwSpellPopup::Execute( USHORT nId ) of temporary auto correction is now undoable two and must reside in the same undo group.*/ pSh->EndAction(); - pSh->EndUndo(UNDO_UI_REPLACE); + pSh->EndUndo(); pSh->SetInsMode( bOldIns ); } |