]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.C
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / BufferView_pimpl.C
index d6a3df7345a8c64638292f34ae41ee4bc3dd24bf..9f114f463ccc89915143dc00b3453a1e90936a65 100644 (file)
@@ -2928,13 +2928,14 @@ bool BufferView::Pimpl::Dispatch(kb_action action, string const & argument)
                if (!bv_->insertInset(inset, "Standard", true))
                        delete inset;
        }
+                
        break;
 
        case LFUN_CHILD_INSERT:
        {
-               InsetInclude::InsetIncludeParams p;
+               InsetInclude::Params p;
                p.cparams.setFromString(argument);
-               p.buffer = buffer_;
+               p.masterFilename_ = buffer_->fileName();
 
                InsetInclude * inset = new InsetInclude(p);
                if (!bv_->insertInset(inset))