]> git.lyx.org Git - features.git/blobdiff - src/BufferView.cpp
This is one of a series of patches that will merge the layout modules development...
[features.git] / src / BufferView.cpp
index 3e5e01f9d39ad00ec534350e59f90d897ff794a9..abf55eb8ec0e86b4ea9733a13b525ab6cff9e286 100644 (file)
@@ -1516,7 +1516,7 @@ void BufferView::menuInsertLyXFile(string const & filenm)
                el = buf.errorList("Parse");
                recordUndo(cursor_);
                cap::pasteParagraphList(cursor_, buf.paragraphs(),
-                                            buf.params().textclass, el);
+                                            buf.params().getTextClass_ptr(), el);
                res = _("Document %1$s inserted.");
        } else
                res = _("Could not insert document %1$s");