]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXYArrow.cpp
installer: further preparation
[lyx.git] / src / mathed / InsetMathXYArrow.cpp
index 69227564ee8482c0c5996a372b62973f07b72d73..0cb525c15a0e28b69842dff8dea6d42ec604b850 100644 (file)
@@ -142,9 +142,9 @@ void InsetMathXYArrow::write(WriteStream & os) const
 {
        MathEnsurer ensurer(os);
        os << "\\ar";
-       if (cell(0).size())
+       if (!cell(0).empty())
                os << '[' << cell(0) << ']';
-       if (cell(1).size())
+       if (!cell(1).empty())
                os << (up_ ? '^' : '_') << '{' << cell(1) << '}';
        os << " ";
 }