]> git.lyx.org Git - features.git/commitdiff
Fix a copy-paste error introduced in b754fb02
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Apr 2012 19:47:40 +0000 (21:47 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Apr 2012 21:33:29 +0000 (23:33 +0200)
(cherry picked from commit 91bc04946fafbee92dda4bd17edfa007f615fe5d)

src/Buffer.cpp

index ec9289bfc4af0bc2ec066211f892a2a00644bed7..d131491e98dc037abfa5eeddf53cca6ea1964716 100644 (file)
@@ -3613,7 +3613,8 @@ bool Buffer::doExport(string const & format, bool put_in_tempdir,
                return false;
        } 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)