]> git.lyx.org Git - features.git/blobdiff - src/buffer.C
Angus's insetref-patch and a small fix.
[features.git] / src / buffer.C
index 7e5395cabc66013c2a5a150d4b2cdef5c53fb3b3..6c804cbb9c4f21e16d999ff60253241f296baa48 100644 (file)
@@ -1068,7 +1068,7 @@ void Buffer::readInset(LyXLex & lex, LyXParagraph *& par,
                           || inscmd.getCmdName() == "prettyref") {
                        if (!inscmd.getOptions().empty()
                            || !inscmd.getContents().empty()) {
-                               inset = new InsetRef(inscmd, this);
+                               inset = new InsetRef(inscmd);
                        }
                } else if (inscmd.getCmdName() == "tableofcontents"
                           || inscmd.getCmdName() == "listofalgorithms"