From: Richard Heck Date: Sat, 26 Dec 2009 15:01:03 +0000 (+0000) Subject: Ensuring math should just be doing math in MathML. X-Git-Tag: 2.0.0~4711 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d8053e2683ff99456071c8fa90fc4dab7816277c;p=features.git Ensuring math should just be doing math in MathML. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32642 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathEnsureMath.cpp b/src/mathed/InsetMathEnsureMath.cpp index f06cbe5552..8f738a8dae 100644 --- a/src/mathed/InsetMathEnsureMath.cpp +++ b/src/mathed/InsetMathEnsureMath.cpp @@ -67,6 +67,12 @@ void InsetMathEnsureMath::write(WriteStream & os) const } +void InsetMathEnsureMath::mathmlize(MathStream & os) const +{ + os << cell(0); +} + + void InsetMathEnsureMath::infoize(odocstream & os) const { os << "EnsureMath"; diff --git a/src/mathed/InsetMathEnsureMath.h b/src/mathed/InsetMathEnsureMath.h index 1bad7c8fb6..ccc136a157 100644 --- a/src/mathed/InsetMathEnsureMath.h +++ b/src/mathed/InsetMathEnsureMath.h @@ -36,6 +36,8 @@ public: /// void write(WriteStream & os) const; /// + void mathmlize(MathStream &) const; + /// void infoize(odocstream & os) const; /// InsetCode lyxCode() const { return MATH_ENSUREMATH_CODE; }