]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBoldSymbol.cpp
Coding style
[lyx.git] / src / mathed / InsetMathBoldSymbol.cpp
index d3633efc8c3dd15fa62b8ba47273ec4a3f249a3c..730185f919de386c6e49bc7d9010e8ea9b65d5e1 100644 (file)
@@ -76,7 +76,7 @@ void InsetMathBoldSymbol::validate(LaTeXFeatures & features) const
 
 void InsetMathBoldSymbol::write(WriteStream & os) const
 {
-       bool brace = ensureMath(os);
+       MathEnsurer ensurer(os);
        switch (kind_) {
        case AMS_BOLD:
                os << "\\boldsymbol{" << cell(0) << "}";
@@ -88,7 +88,6 @@ void InsetMathBoldSymbol::write(WriteStream & os) const
                os << "\\hm{" << cell(0) << "}";
                break;
        }
-       os.pendingBrace(brace);
 }