diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-12-24 16:16:39 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-12-24 16:16:39 (GMT) |
commit | e4cebf12a245705a0ecb714cd3794750af9d0844 (patch) | |
tree | 4d1a863a3e01975cb0300efd330b7a7fb560ee87 /src/index.cpp | |
parent | ba0681136c643f13bb56b3b44d4cba3c70c8338d (diff) | |
download | Doxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.zip Doxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.tar.gz Doxygen-e4cebf12a245705a0ecb714cd3794750af9d0844.tar.bz2 |
Release-1.2.4
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/index.cpp b/src/index.cpp index 9ef8bc1..08a77cd 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -704,7 +704,7 @@ int countNamespaces() NamespaceDef *nd; for (;(nd=nli.current());++nli) { - if (nd->isLinkableInProject() && nd->countMembers()>0) count++; + if (nd->isLinkableInProject()) count++; } return count; } @@ -746,12 +746,17 @@ void writeNamespaceIndex(OutputList &ol) //ol.newParagraph(); ol.endTextBlock(); - ol.startIndexList(); + bool first=TRUE; NamespaceDef *nd=namespaceList.first(); while (nd) { - if (nd->isLinkableInProject() && nd->countMembers()>0) + if (nd->isLinkableInProject()) { + if (first) + { + ol.startIndexList(); + first=FALSE; + } ol.writeStartAnnoItem("namespace",nd->getOutputFileBase(),0,nd->name()); if (!nd->briefDescription().isEmpty()) { @@ -776,7 +781,7 @@ void writeNamespaceIndex(OutputList &ol) } nd=namespaceList.next(); } - ol.endIndexList(); + if (!first) ol.endIndexList(); if (hasHtmlHelp) { htmlHelp->decContentsDepth(); |