]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
fix Row::findElement when there is a Virtual element
[lyx.git] / src / Cursor.cpp
index b250b7bc56f20bbb1006ba1e4f962aa838c63bd5..939b92bd983e314965e9e7a0f47adf71fee83f54 100644 (file)
@@ -1879,7 +1879,7 @@ void Cursor::normalize()
                       << " in atom: '";
                odocstringstream os;
                otexrowstream ots(os);
-               WriteStream wi(ots, false, true, WriteStream::wsDefault);
+               TeXMathStream wi(ots, false, true, TeXMathStream::wsDefault);
                inset().asInsetMath()->write(wi);
                lyxerr << to_utf8(os.str()) << endl;
                pos() = lastpos();