]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Fix a copy-paste error introduced in b754fb02
[lyx.git] / src / Buffer.cpp
index aebe0c96cbe72760fbe127c206d236ddbeb1ce29..d5e337603c58d734500a905bf46824cacf3b4e87 100644 (file)
@@ -3749,7 +3749,8 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir
                return ExportTexPathHasSpaces;
        } else {
                runparams.nice = false;
-               bool const success = makeLaTeXFile(FileName(filename), string(), runparams);
+               bool const success = makeLaTeXFile(
+                       FileName(filename), filePath(), runparams);
                if (d->cloned_buffer_)
                        d->cloned_buffer_->d->errorLists["Export"] = d->errorLists["Export"];
                if (!success)