]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathNumber.cpp
Revert part of 503c7c16: InsetMathNest:edit resets anchor.
[features.git] / src / mathed / InsetMathNumber.cpp
index 5a35415786988fc0bbfcc06f9c4387784124775f..2ce14a7875b567cd716f9311db7af1b004edd5dc 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "InsetMathNumber.h"
 #include "MathStream.h"
-#include "MathStream.h"
 #include "MathSupport.h"
 
 #include "MetricsInfo.h"
@@ -69,11 +68,11 @@ void InsetMathNumber::octave(OctaveStream & os) const
 }
 
 
-void InsetMathNumber::mathmlize(MathStream & ms) const
+void InsetMathNumber::mathmlize(MathMLStream & ms) const
 {
-       ms << "<" << from_ascii(ms.namespacedTag("mn")) << ">"
+       ms << MTagInline("mn")
           << str_
-          << "</" << from_ascii(ms.namespacedTag("mn")) << ">";
+          << ETagInline("mn");
 }
 
 
@@ -83,7 +82,7 @@ void InsetMathNumber::htmlize(HtmlStream & os) const
 }
 
 
-void InsetMathNumber::write(WriteStream & os) const
+void InsetMathNumber::write(TeXMathStream & os) const
 {
        os << str_;
 }