summaryrefslogtreecommitdiffstats
path: root/src/msc.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-09-25 19:13:15 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-09-25 19:13:15 (GMT)
commitd3461a1c31f008345d784dc3e819047bc5265c30 (patch)
treebbe4c051e635c620ab57fcc7ca8279d0427777d8 /src/msc.cpp
parent6bedd287437d2091820129533cb44f56609d0991 (diff)
downloadDoxygen-d3461a1c31f008345d784dc3e819047bc5265c30.zip
Doxygen-d3461a1c31f008345d784dc3e819047bc5265c30.tar.gz
Doxygen-d3461a1c31f008345d784dc3e819047bc5265c30.tar.bz2
Release-1.5.3-20070925
Diffstat (limited to 'src/msc.cpp')
-rw-r--r--src/msc.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/msc.cpp b/src/msc.cpp
index eb1ae6d..afd3562 100644
--- a/src/msc.cpp
+++ b/src/msc.cpp
@@ -26,7 +26,8 @@
static const int maxCmdLine = 40960;
-static bool convertMapFile(QTextStream &t,const char *mapName,const QCString relPath)
+static bool convertMapFile(QTextStream &t,const char *mapName,const QCString relPath,
+ const QString &context)
{
QFile f(mapName);
if (!f.open(IO_ReadOnly))
@@ -66,7 +67,7 @@ static bool convertMapFile(QTextStream &t,const char *mapName,const QCString rel
{
// handle doxygen \ref tag URL reference
QCString *dest;
- DocRef *df = new DocRef( (DocNode*) 0, url );
+ DocRef *df = new DocRef( (DocNode*) 0, url, context );
if (!df->ref().isEmpty())
{
if ((dest=Doxygen::tagDestinationDict[df->ref()])) t << *dest << "/";
@@ -138,7 +139,7 @@ error:
}
QString getMscImageMapFromFile(const QString& inFile, const QString& outDir,
- const QCString& relPath)
+ const QCString& relPath,const QString& context)
{
QString outFile = inFile + ".map";
@@ -162,7 +163,7 @@ QString getMscImageMapFromFile(const QString& inFile, const QString& outDir,
QString result;
QTextOStream tmpout(&result);
- convertMapFile(tmpout, outFile, relPath);
+ convertMapFile(tmpout, outFile, relPath, context);
QDir().remove(outFile);
QDir::setCurrent(oldDir);