summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-07-03 17:43:17 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-07-03 17:43:17 (GMT)
commitadb81f79061729efc28e71c1474c35e21283b049 (patch)
treed1720b58a91abcbfb70196c277ad3b7a11da8263 /src/index.cpp
parent9b28530018c59ce65519f49e8095ecd58b082c87 (diff)
downloadDoxygen-adb81f79061729efc28e71c1474c35e21283b049.zip
Doxygen-adb81f79061729efc28e71c1474c35e21283b049.tar.gz
Doxygen-adb81f79061729efc28e71c1474c35e21283b049.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();
}