]> git.lyx.org Git - lyx.git/blobdiff - src/text_funcs.C
"Inter-word Space"
[lyx.git] / src / text_funcs.C
index c8d28597edc4221852091703476696a2354d33e5..a5f4daf6fe913ec3e67a1a7047507de2664559f9 100644 (file)
@@ -27,7 +27,7 @@ void transposeChars(LyXText & text, LyXCursor const & cursor)
 {
        ParagraphList::iterator tmppit = cursor.par();
 
-       setUndo(text.bv(), Undo::FINISH, &*tmppit, &*boost::next(tmppit));
+       setUndo(text.bv(), Undo::FINISH, tmppit);
 
        pos_type tmppos = cursor.pos();