summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-07-18 19:47:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-07-18 19:47:03 (GMT)
commitea4704b4fde1c7b12520e45f5a67fdbc66d04e36 (patch)
tree6409d19be4f75548825a856ab0a7bd9921ad4996 /src/dot.cpp
parentdfb480bec3fddc5f73fa74e659b8f21fba2fd52c (diff)
downloadDoxygen-ea4704b4fde1c7b12520e45f5a67fdbc66d04e36.zip
Doxygen-ea4704b4fde1c7b12520e45f5a67fdbc66d04e36.tar.gz
Doxygen-ea4704b4fde1c7b12520e45f5a67fdbc66d04e36.tar.bz2
Release-1.3.7-20040718
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 7ebc1dd..4bde818 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -2433,9 +2433,11 @@ void writeDotGraphFromFile(const char *inFile,const char *outDir,
* dotfiles to generate image maps.
* \param inFile just the basename part of the filename
* \param outDir output directory
+ * \param relPath relative path the to root of the output dir
* \returns a string which is the HTML image map (without the \<map\>\</map\>)
*/
-QString getDotImageMapFromFile(const QString& inFile, const QString& outDir)
+QString getDotImageMapFromFile(const QString& inFile, const QString& outDir,
+ const QCString &relPath)
{
QString outFile = inFile + ".map";
@@ -2458,7 +2460,7 @@ QString getDotImageMapFromFile(const QString& inFile, const QString& outDir)
}
QString result;
QTextOStream tmpout(&result);
- convertMapFile(tmpout, outFile, "",TRUE);
+ convertMapFile(tmpout, outFile, relPath ,TRUE);
QDir().remove(outFile);
// printf("result=%s\n",result.data());