]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBoldSymbol.cpp
typo
[lyx.git] / src / mathed / InsetMathBoldSymbol.cpp
index 62f8098fa1c1ecf0ed8d8ff6c83cdb8295a6f234..a0651ea52e0908d4e5a7c99ed3fd94337d97ab42 100644 (file)
@@ -90,7 +90,7 @@ void InsetMathBoldSymbol::validate(LaTeXFeatures & features) const
 }
 
 
-void InsetMathBoldSymbol::write(WriteStream & os) const
+void InsetMathBoldSymbol::write(TeXMathStream & os) const
 {
        MathEnsurer ensurer(os);
        switch (kind_) {
@@ -107,9 +107,11 @@ void InsetMathBoldSymbol::write(WriteStream & os) const
 }
 
 
-void InsetMathBoldSymbol::mathmlize(MathStream & os) const
+void InsetMathBoldSymbol::mathmlize(MathMLStream & ms) const
 {
-       os << "<mstyle mathvariant='bold'>" << cell(0) << "</mstyle>";
+       ms << MTagInline("mstyle", "mathvariant='bold'>")
+          << cell(0)
+          << ETagInline("mstyle");
 }