Blame doxygen-1.8.10-latex.patch
|
Than Ngo |
5e50ad |
diff --git a/src/formula.cpp b/src/formula.cpp
|
|
Than Ngo |
5e50ad |
index ad37782..182ddaa 100644
|
|
Than Ngo |
5e50ad |
--- a/src/formula.cpp
|
|
Than Ngo |
5e50ad |
+++ b/src/formula.cpp
|
|
Than Ngo |
5e50ad |
@@ -132,6 +132,7 @@ void FormulaList::generateBitmaps(const char *path)
|
|
Than Ngo |
5e50ad |
{
|
|
Than Ngo |
5e50ad |
err("Problems running dvips. Check your installation!\n");
|
|
Than Ngo |
5e50ad |
portable_sysTimerStop();
|
|
Than Ngo |
5e50ad |
+ QDir::setCurrent(oldDir);
|
|
Than Ngo |
5e50ad |
return;
|
|
Than Ngo |
5e50ad |
}
|
|
Than Ngo |
5e50ad |
portable_sysTimerStop();
|
|
Than Ngo |
5e50ad |
@@ -192,6 +193,7 @@ void FormulaList::generateBitmaps(const char *path)
|
|
Than Ngo |
5e50ad |
{
|
|
Than Ngo |
5e50ad |
err("Problem running ghostscript %s %s. Check your installation!\n",portable_ghostScriptCommand(),gsArgs);
|
|
Than Ngo |
5e50ad |
portable_sysTimerStop();
|
|
Than Ngo |
5e50ad |
+ QDir::setCurrent(oldDir);
|
|
Than Ngo |
5e50ad |
return;
|
|
Than Ngo |
5e50ad |
}
|
|
Than Ngo |
5e50ad |
portable_sysTimerStop();
|
|
Than Ngo |
5e50ad |
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
|
|
Than Ngo |
5e50ad |
index 7baaa3c..e10b638 100644
|
|
Than Ngo |
5e50ad |
--- a/src/rtfgen.cpp
|
|
Than Ngo |
5e50ad |
+++ b/src/rtfgen.cpp
|
|
Than Ngo |
5e50ad |
@@ -2590,6 +2590,7 @@ bool RTFGenerator::preProcessFileInplace(const char *path,const char *name)
|
|
Than Ngo |
5e50ad |
if (!outf.open(IO_WriteOnly))
|
|
Than Ngo |
5e50ad |
{
|
|
Than Ngo |
5e50ad |
err("Failed to open %s for writing!\n",combinedName.data());
|
|
Than Ngo |
5e50ad |
+ QDir::setCurrent(oldDir);
|
|
Than Ngo |
5e50ad |
return FALSE;
|
|
Than Ngo |
5e50ad |
}
|
|
Than Ngo |
5e50ad |
FTextStream outt(&outf);
|