summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-07-18 19:47:03 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-07-18 19:47:03 (GMT)
commit46361b7017fbbbc5f560eea54aac2be86abaf90e (patch)
tree6409d19be4f75548825a856ab0a7bd9921ad4996 /src/dot.cpp
parente6e861e83b8a05b894b84775f0fc115614d6f229 (diff)
downloadDoxygen-46361b7017fbbbc5f560eea54aac2be86abaf90e.zip
Doxygen-46361b7017fbbbc5f560eea54aac2be86abaf90e.tar.gz
Doxygen-46361b7017fbbbc5f560eea54aac2be86abaf90e.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());