#endif
#include "math_splitinset.h"
-#include "support/LOstream.h"
+#include "math_mathmlstream.h"
MathSplitInset::MathSplitInset(int n)
}
-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";
}