diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-11-17 21:22:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-11-17 21:22:48 (GMT) |
commit | 720d85edd0316e1cedec3402e204ce418174305d (patch) | |
tree | 0c7c3ab3d6f38e212b2cd4a4628e3c9d32d49db3 /src/namespacedef.cpp | |
parent | 8491e9fbd06ef8a8f1cc542a524c673d7781d4b6 (diff) | |
download | Doxygen-720d85edd0316e1cedec3402e204ce418174305d.zip Doxygen-720d85edd0316e1cedec3402e204ce418174305d.tar.gz Doxygen-720d85edd0316e1cedec3402e204ce418174305d.tar.bz2 |
Release-1.7.5.1-20111117
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r-- | src/namespacedef.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index 39904f0..7a51f14 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -564,12 +564,7 @@ void NamespaceDef::writeDocumentation(OutputList &ol) ol.endContents(); - if (generateTreeView) - { - writeNavigationPath(ol); - } - - endFile(ol,TRUE); + endFileWithNavPath(this,ol); if (generateTagFile) { @@ -813,8 +808,13 @@ bool NamespaceSDict::declVisible() const void NamespaceSDict::writeDeclaration(OutputList &ol,const char *title,bool localName) { + + if (count()==0) return; // no namespaces in the list + if (Config_getBool("OPTIMIZE_OUTPUT_VHDL")) return; + + SDict<NamespaceDef>::Iterator ni(*this); NamespaceDef *nd; bool found=FALSE; |