]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathCancelto.cpp
Do not allow pasting backslashes in macro names
[features.git] / src / mathed / InsetMathCancelto.cpp
index b6e7ed06866306d0a0c217f8880855a315944cd4..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) << '}';