mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
* 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
This commit is contained in:
parent
8e4e050a96
commit
dd08dd8d0a
@ -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 << '.');
|
||||
|
Loading…
Reference in New Issue
Block a user