revert r27209 (for real)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27231 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-11-03 09:08:01 +00:00
parent e4dea6c076
commit 247113c819

View File

@ -2391,7 +2391,7 @@ bool Buffer::doExport(string const & format, bool put_in_tempdir,
makeDocBookFile(FileName(filename), runparams);
}
// LaTeX backend
else if (!put_in_tempdir) {
else if (backend_format == format) {
runparams.nice = true;
if (!makeLaTeXFile(FileName(filename), string(), runparams))
return false;