diff options
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/index.cpp b/src/index.cpp index 62cf84d..bad6e18 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -167,6 +167,11 @@ void writeClassHierarchy(OutputList &ol) for (;cli.current(); ++cli) { ClassDef *cd=cli.current(); + //printf("class %s hasVisibleRoot=%d isVisibleInHierarchy=%d\n", + // cd->name().data(), + // hasVisibleRoot(cd->baseClasses()), + // cd->isVisibleInHierarchy() + // ); if (!hasVisibleRoot(cd->baseClasses())) { if (cd->isVisibleInHierarchy()) @@ -197,11 +202,11 @@ void writeClassHierarchy(OutputList &ol) ol.writeIndexItem(0,0,cd->name()); //if (hasHtmlHelp) htmlHelp->addContentsItem(cd->name(),"nodoc"); } - } - if (!cd->visited && cd->superClasses()->count()>0) - { - writeClassTree(ol,cd->superClasses(),cd->visited); - cd->visited=TRUE; + if (!cd->visited && cd->superClasses()->count()>0) + { + writeClassTree(ol,cd->superClasses(),cd->visited); + cd->visited=TRUE; + } } } } |