diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-08-22 19:30:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-08-22 19:30:14 (GMT) |
commit | 20bc00a80ad6bcda730a1762c3700c8f63fa16eb (patch) | |
tree | e5faa5e8d675f525b1cd2f397645136f8193b36f /src/dot.cpp | |
parent | 4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d (diff) | |
download | Doxygen-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.cpp | 9 |
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(); |