Prevent infinite loop.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35996 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-11-02 14:55:33 +00:00
parent 4645e3c56f
commit d7c31dfff3

View File

@ -472,6 +472,7 @@ def revert_ltcaption(document):
j = find_end_of_inset(document.body, i + 1)
if j == -1:
document.warning("Malformed LyX document: Could not find end of tabular.")
i += 1
continue
m = i + 1