]> git.lyx.org Git - lyx.git/blobdiff - src/tabular-old.C
remove lowercase, better layout handling and some variable renameing
[lyx.git] / src / tabular-old.C
index 1ab944317f1bb06b43bec7bffbe08f3978431311..3e06db9a68b5a9111f0e9fd5a3318bc1753023a9 100644 (file)
@@ -13,7 +13,9 @@
 #include <config.h>
 
 #include "tabular.h"
+#include "buffer.h"
 #include "debug.h"
+
 #include "support/lstrings.h"
 #include "support/textutils.h"
 
@@ -159,7 +161,7 @@ void LyXTabular::ReadOld(Buffer const * buf, istream & is,
        return;
     if (!getTokenValue(line, "columns", columns_arg))
        return;
-    Init(rows_arg, columns_arg);
+    Init(buf->params, rows_arg, columns_arg);
     l_getline(is, line);
     if (!prefixIs(line, "<Features ")) {
        lyxerr << "Wrong tabular format (expected <Feture ...> got" <<