]> git.lyx.org Git - features.git/commitdiff
InsetTabular.cpp: when there is no first header or last footer, then don't mention...
authorUwe Stöhr <uwestoehr@web.de>
Thu, 12 Feb 2009 23:59:31 +0000 (23:59 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Thu, 12 Feb 2009 23:59:31 +0000 (23:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28472 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

index 9b6fe85d6170f4dcc396fc49034a598d86263c01..e109a3f21f3d3aefe43a7d3fd788fb45da0c9940 100644 (file)
@@ -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()) {