]> git.lyx.org Git - features.git/blobdiff - src/BufferView.C
take several functions out of BufferList, and split functionality
[features.git] / src / BufferView.C
index 7b8a4cfa33a8e5cacf7ba0301b4e22ff404566e7..6e3d8ba3c9773f650a8b67fb21866e5878fa3920 100644 (file)
@@ -104,11 +104,17 @@ void BufferView::buffer(Buffer * b)
 }
 
 
+bool BufferView::loadLyXFile(string const & fn, bool tl)
+{
+       return pimpl_->loadLyXFile(fn, tl);
+}
+
+
 void BufferView::reload()
 {
        string const fn = buffer()->fileName();
        if (bufferlist.close(buffer(), false))
-               buffer(bufferlist.loadLyXFile(fn));
+               loadLyXFile(fn);
 }