mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
2ef89683a3
commit
ba086ee65d
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user