]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.cpp
typo
[lyx.git] / src / mathed / InsetMathNumber.cpp
index 5237cebab65a95747b5a67c1489950ee0e133ae7..2ce14a7875b567cd716f9311db7af1b004edd5dc 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "InsetMathNumber.h"
 #include "MathStream.h"
-#include "MathStream.h"
 #include "MathSupport.h"
 
 #include "MetricsInfo.h"
@@ -69,9 +68,11 @@ void InsetMathNumber::octave(OctaveStream & os) const
 }
 
 
-void InsetMathNumber::mathmlize(MathStream & os) const
+void InsetMathNumber::mathmlize(MathMLStream & ms) const
 {
-       os << "<mn>" << str_ << "</mn>";
+       ms << MTagInline("mn")
+          << str_
+          << ETagInline("mn");
 }
 
 
@@ -81,7 +82,7 @@ void InsetMathNumber::htmlize(HtmlStream & os) const
 }
 
 
-void InsetMathNumber::write(WriteStream & os) const
+void InsetMathNumber::write(TeXMathStream & os) const
 {
        os << str_;
 }