summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-08-22 19:30:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-08-22 19:30:14 (GMT)
commit20bc00a80ad6bcda730a1762c3700c8f63fa16eb (patch)
treee5faa5e8d675f525b1cd2f397645136f8193b36f /src/dot.cpp
parent4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d (diff)
downloadDoxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.zip
Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.tar.gz
Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.tar.bz2
Release-1.7.1-20100822
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 3edbf18..94c915c 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -3277,11 +3277,8 @@ QCString getDotImageMapFromFile(const QCString& inFile, const QCString& outDir,
err("error: Output dir %s does not exist!\n",outDir.data()); exit(1);
}
- QCString absInFile = QCString(d.absPath())+"/"+inFile;
- QCString absOutFile = QCString(d.absPath())+"/"+outFile;
-
- DotRunner dotRun(absInFile,d.absPath().data(),FALSE);
- dotRun.addJob(MAP_CMD,absOutFile);
+ DotRunner dotRun(inFile,d.absPath().data(),FALSE);
+ dotRun.addJob(MAP_CMD,outFile);
dotRun.preventCleanUp();
if (!dotRun.run())
{
@@ -3290,7 +3287,7 @@ QCString getDotImageMapFromFile(const QCString& inFile, const QCString& outDir,
QGString result;
FTextStream tmpout(&result);
- convertMapFile(tmpout, absOutFile, relPath ,TRUE, context);
+ convertMapFile(tmpout, outFile, relPath ,TRUE, context);
d.remove(outFile);
return result.data();