mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
fix bug 1888
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10647 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a62fc51c2f
commit
7deb554511
@ -1,3 +1,8 @@
|
||||
2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* exporter.C (Export): Don't try to copy a file if it does not exist
|
||||
(bug 1888)
|
||||
|
||||
2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* text2.C (makeFontEntriesLayoutSpecific): remove.
|
||||
|
@ -219,7 +219,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
|
||||
}
|
||||
if (status == CANCEL) {
|
||||
buffer->message(_("Document export cancelled."));
|
||||
} else {
|
||||
} else if (fs::exists(tmp_result_file)) {
|
||||
// Finally copy the main file
|
||||
status = copyFile(format, tmp_result_file,
|
||||
result_file, result_file,
|
||||
@ -228,6 +228,10 @@ bool Exporter::Export(Buffer * buffer, string const & format,
|
||||
"to file `%2$s'"),
|
||||
formats.prettyName(format),
|
||||
MakeDisplayPath(result_file)));
|
||||
} else {
|
||||
// This must be a dummy converter like fax (bug 1888)
|
||||
buffer->message(bformat(_("Document exported as %1$s "),
|
||||
formats.prettyName(format)));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user