diff options
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/index.cpp b/src/index.cpp index 06ab9ac..aabdcdc 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -547,7 +547,7 @@ int countNamespaces() NamespaceDef *nd; for (;(nd=nli.current());++nli) { - if (nd->isLinkableInProject()) count++; + if (nd->isLinkableInProject() && nd->countMembers()>0) count++; } return count; } @@ -583,7 +583,7 @@ void writeNamespaceIndex(OutputList &ol) NamespaceDef *nd=namespaceList.first(); while (nd) { - if (nd->isLinkableInProject()) + if (nd->isLinkableInProject() && nd->countMembers()>0) { ol.writeStartAnnoItem("namespace",nd->getOutputFileBase(),0,nd->name()); ol.docify(" ("); @@ -1456,7 +1456,6 @@ int countGroups() for (;(gd=gli.current());++gli) { if (gd->countMembers()>0) count++; - gd=groupList.next(); } return count; } @@ -1513,7 +1512,6 @@ void writeGroupIndex(OutputList &ol) htmlHelp->incContentsDepth(); } parseText(ol,theTranslator->trModulesDescription()); - //ol.newParagraph(); ol.endTextBlock(); writeGroupList(ol); if (hasHtmlHelp) @@ -1521,7 +1519,6 @@ void writeGroupIndex(OutputList &ol) htmlHelp->decContentsDepth(); } endFile(ol); - //ol.enable(OutputGenerator::Man); ol.popGeneratorState(); } |