]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_splitinset.C
updates to latexfeatures stuff; allow empty \document_path
[lyx.git] / src / mathed / math_splitinset.C
index 02a0d567b5404cae4adbdce429bc34e7c2c9bb03..1a37210d7895f9202ba7c060347891e93993eb90 100644 (file)
@@ -19,13 +19,13 @@ MathInset * MathSplitInset::clone() const
 }
 
 
-void MathSplitInset::write(WriteStream & 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";
 }