]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.cpp
Please Coverity (code should be equivalent)
[lyx.git] / src / mathed / InsetMathNumber.cpp
index eb2e85bdc73de6618f4c1915b0b0a7257aefef52..6a67ce18d75d92840db8f46c808a0834f6bf627d 100644 (file)
@@ -67,10 +67,15 @@ void InsetMathNumber::octave(OctaveStream & os) const
 }
 
 
-docstring InsetMathNumber::mathmlize(MathStream & os) const
+void InsetMathNumber::mathmlize(MathStream & os) const
 {
-       os << "<mn> " << str_ << " </mn>";
-       return docstring();
+       os << "<mn>" << str_ << "</mn>";
+}
+
+
+void InsetMathNumber::htmlize(HtmlStream & os) const
+{
+       os << str_;
 }