]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.cpp
Cmake export tests: Added sublabel handling also to revertedTests
[lyx.git] / src / mathed / MathMacroTemplate.cpp
index f3ba2b480f0a41ca6de1c2482180fce44ebf32ba..30909f2ed72d6317ce7b7dc5d3b30d3315e8a8e2 100644 (file)
@@ -1168,7 +1168,9 @@ void MathMacroTemplate::read(Lexer & lex)
 void MathMacroTemplate::write(ostream & os) const
 {
        odocstringstream oss;
-       WriteStream wi(oss, false, false, WriteStream::wsDefault);
+       TexRow texrow(false);
+       otexrowstream ots(oss,texrow);
+       WriteStream wi(ots, false, false, WriteStream::wsDefault);
        oss << "FormulaMacro\n";
        write(wi);
        os << to_utf8(oss.str());