From 6ba6d4120d568d9d4aad231e5346b5ba8fe72ca1 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Tue, 26 Oct 2010 13:19:26 +0000 Subject: [PATCH] Compile fix. I forgot this in the previous commit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35853 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/buffer_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer_funcs.cpp b/src/buffer_funcs.cpp index d184aa2978..3a480b3e25 100644 --- a/src/buffer_funcs.cpp +++ b/src/buffer_funcs.cpp @@ -132,7 +132,7 @@ Buffer * newFile(string const & filename, string const & templatename, tname = makeAbsPath(templatename); if (!tname.empty()) { - if (b->readFile(tname) != Buffer::ReadSuccess) { + if (b->loadThisLyXFile(tname) != Buffer::ReadSuccess) { docstring const file = makeDisplayPath(tname.absFileName(), 50); docstring const text = bformat( _("The specified document template\n%1$s\ncould not be read."),