]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
Capitalization
[lyx.git] / src / Cursor.cpp
index 828b0f56d270e54b768d3093df887b69c76a3d1a..cd796458de12c4f551aea72f5e4d2d4094488082 100644 (file)
@@ -1684,7 +1684,9 @@ void Cursor::normalize()
                        << pos() << ' ' << lastpos() <<  " in idx: " << idx()
                       << " in atom: '";
                odocstringstream os;
-               WriteStream wi(os, false, true, WriteStream::wsDefault);
+               TexRow texrow(false);
+               otexrowstream ots(os,texrow);
+               WriteStream wi(ots, false, true, WriteStream::wsDefault);
                inset().asInsetMath()->write(wi);
                lyxerr << to_utf8(os.str()) << endl;
                pos() = lastpos();