]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCancel.cpp
We only support gcc >= 4.9.
[lyx.git] / src / mathed / InsetMathCancel.cpp
index 098f2a8af9f6a5ac81bb9ee4d3aaf2f5b306d761..b060af0b9e4075f1d0b6effb102c43c0f565a6c2 100644 (file)
@@ -77,7 +77,7 @@ void InsetMathCancel::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-void InsetMathCancel::write(WriteStream & os) const
+void InsetMathCancel::write(TeXMathStream & os) const
 {
        MathEnsurer ensurer(os);
        switch (kind_) {
@@ -138,21 +138,21 @@ void InsetMathCancel::htmlize(HtmlStream & os) const
 }
 
 
-void InsetMathCancel::mathmlize(MathStream & os) const
+void InsetMathCancel::mathmlize(MathMLStream & ms) const
 {
        switch (kind_) {
        case cancel:
-               os << MTag("menclose", "notation='updiagonalstrike'")
+               ms << MTag("menclose", "notation='updiagonalstrike'")
                   << cell(0)
-                  << ETag("menclose"); 
+                  << ETag("menclose");
                break;
        case bcancel:
-               os << MTag("menclose", "notation='downdiagonalstrike'")
+               ms << MTag("menclose", "notation='downdiagonalstrike'")
                   << cell(0)
-                  << ETag("menclose"); 
+                  << ETag("menclose");
                break;
        case xcancel:
-               os << MTag("menclose", "notation='updiagonalstrike'")
+               ms << MTag("menclose", "notation='updiagonalstrike'")
                   << MTag("menclose", "notation='downdiagonalstrike'")
                   << cell(0)
                   << ETag("menclose")