]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.cpp
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / InsetMathBig.cpp
index fa31b7568bac8fb2baefae0dc7f3b950f7b364d6..0ddb6c8fe85b54fd5ae933d22ff5761b6f941b43 100644 (file)
@@ -120,7 +120,7 @@ void InsetMathBig::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-void InsetMathBig::write(WriteStream & os) const
+void InsetMathBig::write(TeXMathStream & os) const
 {
        MathEnsurer ensurer(os);
        os << '\\' << name_ << delim_;
@@ -137,10 +137,9 @@ void InsetMathBig::normalize(NormalStream & os) const
 
 void InsetMathBig::mathmlize(MathMLStream & ms) const
 {
-       ms << "<" << from_ascii(ms.namespacedTag("mo"))
-          << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
+       ms << MTagInline("mo", "fence='true' stretchy='true' symmetric='true'")
           << convertDelimToXMLEscape(delim_, ms.xmlMode())
-          << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
+          << ETagInline("mo");
 }