summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-02-26 19:26:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-02-26 19:26:15 (GMT)
commit5e5615a9d2da8b923565c1bcadc9db48efbc75d0 (patch)
tree3e53070ae9b2bb683c6b27b5c4edf5cf9151d850 /src/util.cpp
parent80d09775da9a99a3bc58704ffd055547c6b03043 (diff)
parent073e9482a516c24a3d045da049941bfd432f3354 (diff)
downloadDoxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.zip
Doxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.tar.gz
Doxygen-5e5615a9d2da8b923565c1bcadc9db48efbc75d0.tar.bz2
Merge pull request #302 from albert-github/feature/bug_callgraph
Adding commands \hidecallgraph and \hidecallergraph
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 4c74493..b54be1f 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -8007,12 +8007,10 @@ void addDocCrossReference(MemberDef *src,MemberDef *dst)
{
static bool referencedByRelation = Config_getBool("REFERENCED_BY_RELATION");
static bool referencesRelation = Config_getBool("REFERENCES_RELATION");
- static bool callerGraph = Config_getBool("CALLER_GRAPH");
- static bool callGraph = Config_getBool("CALL_GRAPH");
//printf("--> addDocCrossReference src=%s,dst=%s\n",src->name().data(),dst->name().data());
if (dst->isTypedef() || dst->isEnumerate()) return; // don't add types
- if ((referencedByRelation || callerGraph || dst->hasCallerGraph()) &&
+ if ((referencedByRelation || dst->hasCallerGraph()) &&
src->showInCallGraph()
)
{
@@ -8028,7 +8026,7 @@ void addDocCrossReference(MemberDef *src,MemberDef *dst)
mdDecl->addSourceReferencedBy(src);
}
}
- if ((referencesRelation || callGraph || src->hasCallGraph()) &&
+ if ((referencesRelation || src->hasCallGraph()) &&
src->showInCallGraph()
)
{