]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathNumber.cpp
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathNumber.cpp
index 62017795bdebf693cc9e0ecdceaa70af150ee87f..eb2e85bdc73de6618f4c1915b0b0a7257aefef52 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -67,9 +67,10 @@ void InsetMathNumber::octave(OctaveStream & os) const
 }
 
 
-void InsetMathNumber::mathmlize(MathStream & os) const
+docstring InsetMathNumber::mathmlize(MathStream & os) const
 {
-       os << "<mi> " << str_ << " </mi>";
+       os << "<mn> " << str_ << " </mn>";
+       return docstring();
 }