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
This commit is contained in:
Vincent van Ravesteijn 2010-10-26 13:19:26 +00:00
parent f311377671
commit 6ba6d4120d

View File

@ -132,7 +132,7 @@ Buffer * newFile(string const & filename, string const & templatename,
tname = makeAbsPath(templatename); tname = makeAbsPath(templatename);
if (!tname.empty()) { if (!tname.empty()) {
if (b->readFile(tname) != Buffer::ReadSuccess) { if (b->loadThisLyXFile(tname) != Buffer::ReadSuccess) {
docstring const file = makeDisplayPath(tname.absFileName(), 50); docstring const file = makeDisplayPath(tname.absFileName(), 50);
docstring const text = bformat( docstring const text = bformat(
_("The specified document template\n%1$s\ncould not be read."), _("The specified document template\n%1$s\ncould not be read."),