]> git.lyx.org Git - features.git/commitdiff
Ensuring math should just be doing math in MathML.
authorRichard Heck <rgheck@comcast.net>
Sat, 26 Dec 2009 15:01:03 +0000 (15:01 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 26 Dec 2009 15:01:03 +0000 (15:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32642 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathEnsureMath.cpp
src/mathed/InsetMathEnsureMath.h

index f06cbe5552f18a5c6d4914bef3e47619e1843323..8f738a8dae7b6e00c112c2436c63ec456312da81 100644 (file)
@@ -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";
index 1bad7c8fb6c4ec5a9da29a4a3069efaec2af1a45..ccc136a157c93cea04c95c232ecb9fa988b5be5c 100644 (file)
@@ -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; }