]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.cpp
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / InsetMathExInt.cpp
index 537870fd9112ea3ded43d259d5a45bcca9b33cb3..4812eec997eaf89f4bd779dfa869e78ec36bd0f5 100644 (file)
@@ -15,7 +15,6 @@
 #include "LaTeXFeatures.h"
 #include "MathData.h"
 #include "MathStream.h"
-#include "MathStream.h"
 #include "InsetMathSymbol.h"
 
 #include "support/debug.h"
@@ -124,7 +123,7 @@ void InsetMathExInt::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathExInt::mathmlize(MathStream & ms) const
+void InsetMathExInt::mathmlize(MathMLStream & ms) const
 {
        // At the moment, we are not extracting sums and the like for MathML.
        // If we should decide to do so later, then we'll need to re-merge
@@ -143,9 +142,9 @@ void InsetMathExInt::mathmlize(MathStream & ms) const
        sym.mathmlize(ms);
        ms << ETag("mrow");
        if (lower)
-               ms << MTag("mrow") << cell(2) << ETag("mrow");
+               ms << cell(2);
        if (upper)
-               ms << MTag("mrow") << cell(3) << ETag("mrow");
+               ms << cell(3);
        if (lower && upper)
                ms << ETag("msubsup");
        else if (lower)
@@ -191,7 +190,7 @@ void InsetMathExInt::htmlize(HtmlStream & os) const
 }
 
 
-void InsetMathExInt::write(WriteStream &) const
+void InsetMathExInt::write(TeXMathStream &) const
 {
        LYXERR0("should not happen");
 }