From: Uwe Stöhr Date: Fri, 15 Feb 2008 01:28:46 +0000 (+0000) Subject: InsetTabular.cpp: revert the \bottomline fix from the previous commit because it... X-Git-Tag: 1.6.10~6260 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=82984ec711e923bd108589a1c28a964fc0e58113;p=lyx.git InsetTabular.cpp: revert the \bottomline fix from the previous commit because it inly works for certain cases. (I'm running out of ideas to fix this for all case, see http://bugzilla.lyx.org/show_bug.cgi?id=4554#c6 ) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23012 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 2b9d624b9e..daa25763fb 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -1998,7 +1998,7 @@ int Tabular::TeXBottomHLine(odocstream & os, row_type row) const if (bottomLine(i)) ++tmp; } - if (use_booktabs && row == rowCount() - 1 && bottomLine(row)) { + if (use_booktabs && row == rowCount() - 1) { os << "\\bottomrule"; } else if (tmp == n - fcell) { os << (use_booktabs ? "\\midrule" : "\\hline");