]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathExFunc.cpp
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathExFunc.cpp
index e4479275d01093e7aec6a6699e263b5f72da9c00..173436eb612a7b031f1b2f862cab3cac734d297f 100644 (file)
@@ -13,6 +13,7 @@
 #include "InsetMathExFunc.h"
 
 #include "MathData.h"
+#include "MathExtern.h"
 #include "MathStream.h"
 #include "MathSupport.h"
 #include "MetricsInfo.h"
@@ -122,10 +123,10 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathExFunc::mathmlize(MathStream & os) const
+docstring InsetMathExFunc::mathmlize(MathStream & os) const
 {
-       os.os() << "<mi>" << name_ << "</mi>" << "&af;";
-       os << cell(0);
+       os << "<mi>" << name_ << "</mi><mo>&af;</mo>";
+       return lyx::mathmlize(cell(0), os);
 }