]> git.lyx.org Git - features.git/blobdiff - src/text.C
Added Ascii export for tabulars + small fixes
[features.git] / src / text.C
index 8c21418d8763fb4baa0f27a79a4e4a93c7f563cc..9c5914284870373012aab9a8df752bef191068d9 100644 (file)
@@ -4031,6 +4031,9 @@ void LyXText::InsertFootnoteEnvironment(BufferView * bview,
 Row * LyXText::GetRow(LyXParagraph * par,
                      LyXParagraph::size_type pos, int & y) const
 {
+       if (!firstrow)
+               return 0;
+
        Row * tmprow = firstrow;
        y = 0;