From: Richard Heck Date: Wed, 31 Mar 2010 19:01:15 +0000 (+0000) Subject: This doesn't seem to be compiled even, but oh well. X-Git-Tag: 2.0.0~3608 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2f44dc2583bd9d68a46961d708b9eaed5d2b0d85;p=features.git This doesn't seem to be compiled even, but oh well. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33972 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathMBox.cpp b/src/mathed/InsetMathMBox.cpp index 0210bc4b80..bf27b8d102 100644 --- a/src/mathed/InsetMathMBox.cpp +++ b/src/mathed/InsetMathMBox.cpp @@ -120,7 +120,13 @@ void InsetMathMBox::cursorPos(BufferView const & bv, void InsetMathMBox::mathmlize(MathStream & ms) const { - SetMode textmode(ms, true, from_ascii("class='mbox'")); + SetMode textmode(ms, true, "class='mbox'"); + ms << cell(0); +} + +void InsetMathMBox::htmlize(HtmlStream & ms) const +{ + SetHTMLMode textmode(ms, true, "class='mbox'"); ms << cell(0); } diff --git a/src/mathed/InsetMathMBox.h b/src/mathed/InsetMathMBox.h index 1e5654e940..eca4fcbfaa 100644 --- a/src/mathed/InsetMathMBox.h +++ b/src/mathed/InsetMathMBox.h @@ -50,6 +50,8 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// Text * getText(int) const; /// void cursorPos(BufferView const & bv, CursorSlice const & sl,