diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-11-18 21:43:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-11-18 21:43:28 (GMT) |
commit | fee4053bd3dd075a2dd2cba4da8166ec5307eadd (patch) | |
tree | 94365b932426de715b3a479094b7056e0c4f878b /src/formula.cpp | |
parent | ceb4115c7b941039411e1793e01239610ff112a2 (diff) | |
download | Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.zip Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.gz Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.bz2 |
Release-1.8.2-20121118
Diffstat (limited to 'src/formula.cpp')
-rw-r--r-- | src/formula.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/formula.cpp b/src/formula.cpp index 9407d8a..a1f2328 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -17,7 +17,6 @@ #include <stdlib.h> #include <unistd.h> -#include "qtbc.h" #include <qfile.h> #include <qfileinfo.h> #include <qtextstream.h> @@ -55,7 +54,7 @@ void FormulaList::generateBitmaps(const char *path) QDir d(path); // store the original directory if (!d.exists()) { err("error: Output dir %s does not exist!\n",path); exit(1); } - QCString oldDir = convertToQCString(QDir::currentDirPath()); + QCString oldDir = QDir::currentDirPath().utf8(); // go to the html output directory (i.e. path) QDir::setCurrent(d.absPath()); QDir thisDir; @@ -94,7 +93,7 @@ void FormulaList::generateBitmaps(const char *path) t << formula->getFormulaText() << endl << "\\pagebreak\n\n"; pagesToGenerate.append(new int(page)); } - Doxygen::indexList.addImageFile(resultName); + Doxygen::indexList->addImageFile(resultName); page++; } t << "\\end{document}" << endl; |