]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
Allow using \binom without amsmath and add support for \brace and \brack
[lyx.git] / src / factory.cpp
index 609abcf7937d12877ce4dd3a40fcad395292da7b..b50b64abd1ad9fc60dba30682eaf7e45b55e07cc 100644 (file)
@@ -240,9 +240,8 @@ Inset * createInsetHelper(Buffer & buf, FuncRequest const & cmd)
                        }
                        
                        case ERT_CODE: {
-                               InsetCollapsable::CollapseStatus st;
-                               InsetERT::string2params(to_utf8(cmd.argument()), st);
-                               return new InsetERT(buf, st);
+                               return new InsetERT(buf,
+                                       InsetERT::string2params(to_utf8(cmd.argument())));
                        }
                                
                        case LISTINGS_CODE: {