]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathCancel.cpp
Revert part of 503c7c16: InsetMathNest:edit resets anchor.
[features.git] / src / mathed / InsetMathCancel.cpp
index 25728a3680ac40e64a765b1e1d05ac1823779d2b..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");
                break;
        case bcancel:
-               os << MTag("menclose", "notation='downdiagonalstrike'")
+               ms << MTag("menclose", "notation='downdiagonalstrike'")
                   << cell(0)
                   << ETag("menclose");
                break;
        case xcancel:
-               os << MTag("menclose", "notation='updiagonalstrike'")
+               ms << MTag("menclose", "notation='updiagonalstrike'")
                   << MTag("menclose", "notation='downdiagonalstrike'")
                   << cell(0)
                   << ETag("menclose")