]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_splitinset.C
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_splitinset.C
index 6f9d9c8e9bfbdf9030ceee100c3b840e52642e8c..1a37210d7895f9202ba7c060347891e93993eb90 100644 (file)
@@ -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";
 }