summaryrefslogtreecommitdiff
path: root/sw/source/ui/lingu
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2011-01-20 19:19:11 +0100
committerMichael Stahl <mst@openoffice.org>2011-01-20 19:19:11 +0100
commit8bc2019cab507472a0412f47cea6e740ec697818 (patch)
treed9be3cb1b4cc1235e38d9aea82f78de426b62cfd /sw/source/ui/lingu
parentd9e7a76273396527d29503a66ed514e2a0199ceb (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.cxx2
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 );
}