]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/table.cpp
tex2lyx/text.cpp: only whitespace
[lyx.git] / src / tex2lyx / table.cpp
index 79f750d8c79b5475c9f6dc71f1696be7d61b7aaa..0c3c2f238d3a7746533ed486eb7701d56b38bf8b 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "tex2lyx.h"
 
+#include "support/lassert.h"
 #include "support/convert.h"
 #include "support/lstrings.h"
 
@@ -463,7 +464,7 @@ void fix_colalign(vector<ColInfo> & colinfo)
 bool parse_hlines(Parser & p, Token const & t, string & hlines,
                  bool is_long_tabular)
 {
-       BOOST_ASSERT(t.cat() == catEscape);
+       LASSERT(t.cat() == catEscape, return false);
 
        if (t.cs() == "hline")
                hlines += "\\hline";