summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-10-05 12:34:05 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-10-05 12:34:05 (GMT)
commitaaf87cb6d6601d665a06dc4556da4ce10c98e127 (patch)
tree97864d162da48ec2548b1b05987ddbb5301769b1 /src/dot.cpp
parent7cdb9679aa5e9baf87772f2c7799ff7b5fe01207 (diff)
downloadDoxygen-aaf87cb6d6601d665a06dc4556da4ce10c98e127.zip
Doxygen-aaf87cb6d6601d665a06dc4556da4ce10c98e127.tar.gz
Doxygen-aaf87cb6d6601d665a06dc4556da4ce10c98e127.tar.bz2
Release-1.3.4-20031005
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp33
1 files changed, 5 insertions, 28 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index d2f852a..79c1320 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1886,25 +1886,10 @@ DotCallGraph::DotCallGraph(MemberDef *md,int maxRecursionDepth)
{
m_maxDistance = 0;
m_recDepth = maxRecursionDepth;
- if (md->getGroupDef())
- {
- m_diskName = md->getGroupDef()->getOutputFileBase()+"_"+md->getBodyAnchor();
- }
- else
- {
- m_diskName = md->getOutputFileBase()+"_"+md->anchor();
- }
+ m_diskName = md->getOutputFileBase()+"_"+md->anchor();
QCString uniqueId;
- if (md->getGroupDef()) // member is in a group
- {
- uniqueId = md->getReference()+"$"+
- md->getGroupDef()->getOutputFileBase()+"#"+md->getBodyAnchor();
- }
- else // ungrouped member
- {
- uniqueId = md->getReference()+"$"+
- md->getOutputFileBase()+"#"+md->anchor();
- }
+ uniqueId = md->getReference()+"$"+
+ md->getOutputFileBase()+"#"+md->anchor();
m_startNode = new DotNode(m_curNodeNumber++,
md->qualifiedName(),
uniqueId.data(),
@@ -2049,16 +2034,8 @@ void DotCallGraph::buildGraph(DotNode *n,MemberDef *md,int distance)
if (rmd->isFunction())
{
QCString uniqueId;
- if (rmd->getGroupDef()) // member is in a group
- {
- uniqueId = rmd->getReference()+"$"+
- rmd->getGroupDef()->getOutputFileBase()+"#"+rmd->getBodyAnchor();
- }
- else // ungrouped member
- {
- uniqueId=rmd->getReference()+"$"+
- rmd->getOutputFileBase()+"#"+rmd->anchor();
- }
+ uniqueId=rmd->getReference()+"$"+
+ rmd->getOutputFileBase()+"#"+rmd->anchor();
DotNode *bn = m_usedNodes->find(uniqueId);
if (bn) // file is already a node in the graph
{