]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetinclude.C
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetinclude.C
index d13de40ddc708e098908296102100756c6098784..03f9d0d5eba96ccad37331829bda998246e65ee0 100644 (file)
@@ -113,7 +113,7 @@ InsetInclude::InsetInclude(InsetCommandParams const & p, Buffer const & b)
 
 
 InsetInclude::InsetInclude(InsetInclude const & other)
-       : Inset(other),
+       : InsetOld(other),
          params_(other.params_),
          include_label(other.include_label),
          preview_(new PreviewImpl(*this)),
@@ -153,7 +153,7 @@ dispatch_result InsetInclude::localDispatch(FuncRequest const & cmd)
                return DISPATCHED;
 
        default:
-               return Inset::localDispatch(cmd);
+               return InsetOld::localDispatch(cmd);
        }
 }
 
@@ -345,7 +345,7 @@ int InsetInclude::latex(Buffer const * buffer, ostream & os,
                tmp->markDepClean(buffer->tmppath);
 
                tmp->makeLaTeXFile(writefile, OnlyPath(getMasterFilename()),
-                                  runparams, true);
+                                  runparams, false);
        }
 
        if (isVerbatim()) {