]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathEnsureMath.cpp
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathEnsureMath.cpp
index 8f738a8dae7b6e00c112c2436c63ec456312da81..149bae7d2cb247fbc5fd8871066f3df866d13d11 100644 (file)
@@ -13,8 +13,9 @@
 
 #include "InsetMathEnsureMath.h"
 
-#include "MathStream.h"
+#include "MathExtern.h"
 #include "MathData.h"
+#include "MathStream.h"
 
 #include <ostream>
 
@@ -67,9 +68,9 @@ void InsetMathEnsureMath::write(WriteStream & os) const
 }
 
 
-void InsetMathEnsureMath::mathmlize(MathStream & os) const
+docstring InsetMathEnsureMath::mathmlize(MathStream & os) const
 {
-       os << cell(0);
+       return lyx::mathmlize(cell(0), os);
 }