]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.cpp
support for the LaTeX commands \x***arrow
[lyx.git] / src / mathed / CommandInset.cpp
index e09604e241c9f2973f1cde97d07172c05a9d343d..0cf041c23ea7e59b2ec9fc62cf30690fca02cda5 100644 (file)
@@ -67,7 +67,7 @@ void CommandInset::write(WriteStream & os) const
        ModeSpecifier specifier(os, currentMode(), lockedMode(), asciiOnly());
        MathEnsurer ensurer(os, needs_math_mode_);
        os << '\\' << name_;
-       if (cell(1).size())
+       if (!cell(1).empty())
                os << '[' << cell(1) << ']';
        os << '{' << cell(0) << '}';
 }