]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.cpp
Introduce a return value for mathmlize(). We will need this to be able
[lyx.git] / src / mathed / InsetMathExInt.cpp
index 88970e0e9634dbf54783b7d9f9fb0f8b2a0c2f64..5277b6cde818253302213b17e17a1fc9f9e3d95f 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "InsetMathExInt.h"
 #include "MathData.h"
+#include "MathExtern.h"
 #include "MathStream.h"
 #include "MathStream.h"
 #include "InsetMathSymbol.h"
@@ -122,7 +123,7 @@ void InsetMathExInt::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathExInt::mathmlize(MathStream & os) const
+docstring InsetMathExInt::mathmlize(MathStream & os) 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
@@ -150,9 +151,11 @@ void InsetMathExInt::mathmlize(MathStream & os) const
                os << ETag("msub");
        else if (upper)
                os << ETag("msup");
-       os << cell(0) << "<mo> &InvisibleTimes; </mo>"
+       docstring rv = lyx::mathmlize(cell(0), os);
+       os << "<mo> &InvisibleTimes; </mo>"
           << MTag("mrow") << "<mo> &DifferentialD; </mo>"
           << cell(1) << ETag("mrow");
+       return rv;
 }