]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathBoldSymbol.cpp
Fix broken Apple speller interface
[features.git] / src / mathed / InsetMathBoldSymbol.cpp
index 5dbe1fda2859a0e7d0ae12865f0b781b288be64b..4dd1871dc3fffec670b0c6375ba50d6c690f9cc9 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,11 +107,11 @@ void InsetMathBoldSymbol::write(WriteStream & os) const
 }
 
 
-void InsetMathBoldSymbol::mathmlize(MathStream & ms) const
+void InsetMathBoldSymbol::mathmlize(MathMLStream & ms) const
 {
-       ms << "<" << from_ascii(ms.namespacedTag("mstyle")) << " mathvariant='bold'>"
+       ms << MTagInline("mstyle", "mathvariant='bold'")
           << cell(0)
-          << "</" << from_ascii(ms.namespacedTag("mstyle")) << ">";
+          << ETagInline("mstyle");
 }