From d8053e2683ff99456071c8fa90fc4dab7816277c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 26 Dec 2009 15:01:03 +0000 Subject: [PATCH] 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 --- src/mathed/InsetMathEnsureMath.cpp | 6 ++++++ src/mathed/InsetMathEnsureMath.h | 2 ++ 2 files changed, 8 insertions(+) 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; } -- 2.39.5