From: Uwe Stöhr Date: Thu, 12 Feb 2009 23:59:31 +0000 (+0000) Subject: InsetTabular.cpp: when there is no first header or last footer, then don't mention... X-Git-Tag: 2.0.0~7232 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=256ba59d5f7d2e60560419e7c7b89ef98541c54d;p=features.git InsetTabular.cpp: when there is no first header or last footer, then don't mention it in the LaTeX code, otherwise the header/footer will not appear on the first page. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28472 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 9b6fe85d61..e109a3f21f 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2120,10 +2120,6 @@ int Tabular::TeXLongtableHeaderFooter(odocstream & os, } // output header info if (haveLTHead()) { - if (!haveLTFirstHead()) { - os << "\\endfirsthead\n"; - ++ret; - } if (endhead.topDL) { os << "\\hline\n"; ++ret; @@ -2157,10 +2153,6 @@ int Tabular::TeXLongtableHeaderFooter(odocstream & os, } os << "\\endfoot\n"; ++ret; - if (!haveLTLastFoot()) { - os << "\\endlastfoot\n"; - ++ret; - } } // output lastfooter info if (haveLTLastFoot()) {