From dd08dd8d0ab7c59560c09a3c9f4390cf29f40606 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 17 Jul 2010 21:12:48 +0000 Subject: [PATCH] * LayoutFile.cpp: - it makes no sense to output the real filename if it is empty, - success is already false. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34950 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LayoutFile.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/LayoutFile.cpp b/src/LayoutFile.cpp index 6f80c95796..e7e75d2021 100644 --- a/src/LayoutFile.cpp +++ b/src/LayoutFile.cpp @@ -103,10 +103,8 @@ bool LayoutFileList::read() LYXERR(Debug::TCLASS, "Reading textclasses from `" << real_file << "'."); if (real_file.empty()) { - LYXERR0("LayoutFileList::Read: unable to find textclass file `" - << makeDisplayPath(real_file.absFileName(), 1000) - << "'."); - success = false; + LYXERR0("LayoutFileList::Read: unable to find textclass file " + << "`textclass.lst'."; } else if (!lex.setFile(real_file)) { LYXERR0("LayoutFileList::Read: lyxlex was not able to set file: " << real_file << '.'); -- 2.39.5