]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
remove unused code
[lyx.git] / src / tabular.C
index c20ac65f054dd7d5091678c969dc3939fbdbfdc5..2d167988453549bfe19703049c70c83d2449c1b7 100644 (file)
@@ -2208,7 +2208,7 @@ int LyXTabular::TeXRow(ostream & os, int const i, Buffer const * buf,
                InsetText * inset = GetCellInset(cell);
 
                bool rtl = inset->paragraph()->isRightToLeftPar(buf->params) &&
-                       inset->paragraph()->size() > 0 && GetPWidth(cell).zero();
+                       !inset->paragraph()->empty() && GetPWidth(cell).zero();
 
                if (rtl)
                        os << "\\R{";