]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.cpp
Accept \kern and \mkern for math kerning
[lyx.git] / src / mathed / InsetMathExInt.cpp
index ac5409f469aca3e432a9173967890fe357f6d71e..64f49cd996778bbd80637c8ec9b7533622c12a36 100644 (file)
@@ -76,7 +76,7 @@ void InsetMathExInt::draw(PainterInfo &, int, int) const
 void InsetMathExInt::maple(MapleStream & os) const
 {
        os << symbol_ << '(';
-       if (cell(0).size())
+       if (!cell(0).empty())
                os << cell(0);
        else
                os << '1';
@@ -94,7 +94,7 @@ void InsetMathExInt::maxima(MaximaStream & os) const
        else
                os << symbol_ << '(';
 
-       if (cell(0).size())
+       if (!cell(0).empty())
                os << cell(0) << ',';
        else
                os << '1' << ',';
@@ -113,7 +113,7 @@ void InsetMathExInt::mathematica(MathematicaStream & os) const
        else
                os << symbol_ << '[';
 
-       if (cell(0).size())
+       if (!cell(0).empty())
                os << cell(0) << ',';
        else
                os << '1' << ',';