]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_splitinset.C
fix build, thesaurus
[lyx.git] / src / mathed / math_splitinset.C
index 46eab1d065dc1286d2d7bc05e866e9fd7056ae75..1a37210d7895f9202ba7c060347891e93993eb90 100644 (file)
@@ -3,7 +3,7 @@
 #endif
 
 #include "math_splitinset.h"
-#include "support/LOstream.h"
+#include "math_mathmlstream.h"
 
 
 MathSplitInset::MathSplitInset(int n)
@@ -19,13 +19,13 @@ MathInset * MathSplitInset::clone() const
 }
 
 
-void MathSplitInset::write(MathWriteInfo & os) const
+void MathSplitInset::write(WriteStream & ws) const
 {
-       if (os.fragile)
-               os << "\\protect";
-       os << "\\begin{split}";
-       MathGridInset::write(os);
-       if (os.fragile)
-               os << "\\protect";
-       os << "\\end{split}\n";
+       if (ws.fragile())
+               ws << "\\protect";
+       ws << "\\begin{split}";
+       MathGridInset::write(ws);
+       if (ws.fragile())
+               ws << "\\protect";
+       ws << "\\end{split}\n";
 }