summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-07-26 10:02:41 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-07-26 10:02:41 (GMT)
commit8b128b291d9bad7c73e52c78be9a77f8a867825b (patch)
treea9690181d7fff50697e2edb6790422aeee4a9be9 /src/rtfgen.cpp
parent5fb6d966b3f410ddd8b9f8fac3ad8edbe6822cef (diff)
parentc713984bf6a4c9e8c2ea393b304682ce4a56358f (diff)
downloadDoxygen-8b128b291d9bad7c73e52c78be9a77f8a867825b.zip
Doxygen-8b128b291d9bad7c73e52c78be9a77f8a867825b.tar.gz
Doxygen-8b128b291d9bad7c73e52c78be9a77f8a867825b.tar.bz2
Merge pull request #369 from albert-github/feature/bug_682373
Bug 682373 - Math does not work in LaTeX with custom header and footer.
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 1a53e63..811efd8 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -2606,6 +2606,7 @@ bool RTFGenerator::preProcessFileInplace(const char *path,const char *name)
if (!outf.open(IO_WriteOnly))
{
err("Failed to open %s for writing!\n",combinedName.data());
+ QDir::setCurrent(oldDir);
return FALSE;
}
FTextStream outt(&outf);