]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.cpp
Do not throw exceptions here either. See r22806.
[lyx.git] / src / mathed / InsetMathMBox.cpp
index 0210bc4b804a9209ac7c15b6812715ee50605a42..bf27b8d102050d395e7409ac37da080f911c2a29 100644 (file)
@@ -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);
 }