]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
Change the "empty layout" to the "plain layout", to try to avoid confusion.
[lyx.git] / src / factory.cpp
index 1dbf8d3b333c860b6092dee53006f3b6b1fcf426..eba16dcc30bf7782fa4838363e8c1032b6feba0f 100644 (file)
@@ -521,7 +521,7 @@ Inset * readInset(Lexer & lex, Buffer const & buf)
                } else if (tmptok == "space") {
                        inset.reset(new InsetSpace);
                } else if (tmptok == "Tabular") {
-                       inset.reset(new InsetTabular(buf));
+                       inset.reset(new InsetTabular(const_cast<Buffer &>(buf)));
                } else if (tmptok == "Text") {
                        inset.reset(new InsetText(buf));
                } else if (tmptok == "VSpace") {