summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-03 17:43:17 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-03 17:43:17 (GMT)
commite3baf8c5ec430e5f09f00384ebdfa35242fd3316 (patch)
treed1720b58a91abcbfb70196c277ad3b7a11da8263 /src/index.cpp
parent1b2fd16cd8ed1830a7743a55dc1b9ec3ec59ad98 (diff)
downloadDoxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.zip
Doxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.tar.gz
Doxygen-e3baf8c5ec430e5f09f00384ebdfa35242fd3316.tar.bz2
Release-1.1.5
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp7
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();
}