summaryrefslogtreecommitdiffstats
path: root/src/msc.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-11-18 21:43:28 (GMT)
commitfee4053bd3dd075a2dd2cba4da8166ec5307eadd (patch)
tree94365b932426de715b3a479094b7056e0c4f878b /src/msc.cpp
parentceb4115c7b941039411e1793e01239610ff112a2 (diff)
downloadDoxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.zip
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.gz
Doxygen-fee4053bd3dd075a2dd2cba4da8166ec5307eadd.tar.bz2
Release-1.8.2-20121118
Diffstat (limited to 'src/msc.cpp')
-rw-r--r--src/msc.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/msc.cpp b/src/msc.cpp
index 51875ba..fadbc0c 100644
--- a/src/msc.cpp
+++ b/src/msc.cpp
@@ -21,7 +21,9 @@
#include "message.h"
#include "docparser.h"
#include "doxygen.h"
+#include "util.h"
+#include <qtextstream.h>
#include <qdir.h>
static const int maxCmdLine = 40960;
@@ -94,7 +96,7 @@ void writeMscGraphFromFile(const char *inFile,const char *outDir,
absOutFile+=outFile;
// chdir to the output dir, so dot can find the font file.
- QCString oldDir = convertToQCString(QDir::currentDirPath());
+ QCString oldDir = QDir::currentDirPath().utf8();
// go to the html output directory (i.e. path)
QDir::setCurrent(outDir);
//printf("Going to dir %s\n",QDir::currentDirPath().data());
@@ -151,7 +153,7 @@ QCString getMscImageMapFromFile(const QCString& inFile, const QCString& outDir,
//printf("*** running:getMscImageMapFromFile \n");
// chdir to the output dir, so dot can find the font file.
- QCString oldDir = convertToQCString(QDir::currentDirPath());
+ QCString oldDir = QDir::currentDirPath().utf8();
// go to the html output directory (i.e. path)
QDir::setCurrent(outDir);
//printf("Going to dir %s\n",QDir::currentDirPath().data());