]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCancelto.cpp
typo
[lyx.git] / src / mathed / InsetMathCancelto.cpp
index cf6b006d446485b739a9f1179e3f01604bbe05db..1a7d38c78ffb2f2b3bf2907237e288ec66e7accb 100644 (file)
@@ -88,7 +88,7 @@ void InsetMathCancelto::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-void InsetMathCancelto::write(WriteStream & os) const
+void InsetMathCancelto::write(TeXMathStream & os) const
 {
        MathEnsurer ensurer(os);
        os << "\\cancelto{" << cell(1) << "}{" << cell(0) << '}';
@@ -102,7 +102,7 @@ void InsetMathCancelto::normalize(NormalStream & os) const
 
 bool InsetMathCancelto::idxUpDown(Cursor & cur, bool up) const
 {
-       Cursor::idx_type const target = up ? 1 : 0;
+       idx_type const target = up ? 1 : 0;
        if (cur.idx() == target)
                return false;
        cur.idx() = target;