]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
fix some C++ parsing bugs
[lyx.git] / src / tabular.C
index 0562d9c06f93f4d77aca298ff1c83aa8ceff383b..bc38b967facee396db09906995d1a103c51e83e0 100644 (file)
@@ -2766,7 +2766,7 @@ LyXTabular::BoxType LyXTabular::UseParbox(int cell) const
 
        for (; cit != end; ++cit) {
                for (int i = 0; i < cit->size(); ++i) {
-                       if (cit->getChar(i) == Paragraph::META_NEWLINE)
+                       if (cit->isNewline(i))
                                return BOX_PARBOX;
                }
        }