InsetTabular.cpp: Reverting r28472 and part of r28461 - this would have been a regression, therefore readding it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28485 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-02-13 23:48:19 +00:00
parent 2ef89683a3
commit ba086ee65d

View File

@ -2120,6 +2120,10 @@ int Tabular::TeXLongtableHeaderFooter(odocstream & os,
}
// output header info
if (haveLTHead()) {
if (endfirsthead.empty && !haveLTFirstHead()) {
os << "\\endfirsthead\n";
++ret;
}
if (endhead.topDL) {
os << "\\hline\n";
++ret;
@ -2153,6 +2157,10 @@ int Tabular::TeXLongtableHeaderFooter(odocstream & os,
}
os << "\\endfoot\n";
++ret;
if (endlastfoot.empty && !haveLTLastFoot()) {
os << "\\endlastfoot\n";
++ret;
}
}
// output lastfooter info
if (haveLTLastFoot()) {