]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBrace.cpp
Attempt to fix #8137 (arrived at r40862).
[lyx.git] / src / mathed / InsetMathBrace.cpp
index 4bf24dfb81e7ad3566e25f339f55da3a57eb2e3a..14279c1d5100c077634702e83a9137de9eaad9f0 100644 (file)
@@ -13,7 +13,6 @@
 #include "InsetMathBrace.h"
 
 #include "MathData.h"
-#include "MathExtern.h"
 #include "MathStream.h"
 #include "MathSupport.h"
 #include "MetricsInfo.h"
@@ -95,12 +94,15 @@ void InsetMathBrace::octave(OctaveStream & os) const
 }
 
 
-docstring InsetMathBrace::mathmlize(MathStream & os) const
+void InsetMathBrace::mathmlize(MathStream & os) const
 {
-       os << MTag("mrow");
-       docstring const rv = lyx::mathmlize(cell(0), os);
-       os << ETag("mrow");
-       return rv;
+       os << MTag("mrow") << cell(0) << ETag("mrow");
+}
+
+
+void InsetMathBrace::htmlize(HtmlStream & os) const
+{
+       os << cell(0);
 }