X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffactory.cpp;h=eba16dcc30bf7782fa4838363e8c1032b6feba0f;hb=cca78e3c8ae27431323746abd64f9d7db017099d;hp=1dbf8d3b333c860b6092dee53006f3b6b1fcf426;hpb=79beb91e3a3538e204c436a664efdbeb28d15eb9;p=lyx.git diff --git a/src/factory.cpp b/src/factory.cpp index 1dbf8d3b33..eba16dcc30 100644 --- a/src/factory.cpp +++ b/src/factory.cpp @@ -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(buf))); } else if (tmptok == "Text") { inset.reset(new InsetText(buf)); } else if (tmptok == "VSpace") {