]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.cpp
Add support for stmaryrd.sty (bug #8434)
[lyx.git] / src / mathed / InsetMathXArrow.cpp
index 44799bac2fed2f8ff9277ec1c0d8d55913e7585a..eef5b4388c4546aff6f65ea5eb7d839801331760 100644 (file)
@@ -64,7 +64,7 @@ void InsetMathXArrow::write(WriteStream & os) const
 {
        MathEnsurer ensurer(os);
        os << '\\' << name_;
-       if (cell(1).size())
+       if (!cell(1).empty())
                os << '[' << cell(1) << ']';
        os << '{' << cell(0) << '}';
 }