]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.cpp
fix MSVC warning.
[lyx.git] / src / LyX.cpp
index 4b326b137dd4aaa66437359152e1571db242c907..574fa28e8c83abe1736169d1bda86fcdf76e5bc6 100644 (file)
@@ -602,7 +602,7 @@ void LyX::loadFiles()
                        continue;
 
                Buffer * buf = pimpl_->buffer_list_.newBuffer(it->absFilename(), false);
-               if (loadLyXFile(buf, *it)) {
+               if (buf->loadLyXFile(*it)) {
                        ErrorList const & el = buf->errorList("Parse");
                        if (!el.empty())
                                for_each(el.begin(), el.end(),