]> git.lyx.org Git - lyx.git/blobdiff - src/factory.C
the stuff from the sneak preview:
[lyx.git] / src / factory.C
index 727939de48b7877834502a7c2ab17ba9234d64d4..10e11708e806e6fbd9bf639ed50b796f87982865 100644 (file)
@@ -185,7 +185,6 @@ InsetBase * createInset(BufferView * bv, FuncRequest const & cmd)
                UpdatableInset * up = bv->cursor().inset().asUpdatableInset();
                if (!up) {
                        auto_ptr<InsetCaption> inset(new InsetCaption(params));
-                       inset->setOwner(up);
                        inset->setAutoBreakRows(true);
                        inset->setDrawFrame(InsetText::LOCKED);
                        inset->setFrameColor(LColor::captionframe);