diff options
author | albert-github <albert.tests@gmail.com> | 2019-01-05 13:44:28 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-01-05 13:44:28 (GMT) |
commit | a0be73d6eb529295cbc8fdfe0a0bbf38ebf5a0c2 (patch) | |
tree | b96670ca3936980466bd120849286172774ac1e6 /src | |
parent | 3b4b75a3d31b1f177f5d500b74cc0af953c130b5 (diff) | |
download | Doxygen-a0be73d6eb529295cbc8fdfe0a0bbf38ebf5a0c2.zip Doxygen-a0be73d6eb529295cbc8fdfe0a0bbf38ebf5a0c2.tar.gz Doxygen-a0be73d6eb529295cbc8fdfe0a0bbf38ebf5a0c2.tar.bz2 |
issue #6727 SHOW_NAMESPACES = NO breaks latex PDF
Only write the namespace index file reference (i.e. namespaces.tex , namespaces.rtf) to the overall file (i.e. refman.tex. refman.rtf) in case SHOW_NAMESPACES is set and there are namespaces.
Diffstat (limited to 'src')
-rw-r--r-- | src/index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp index 7bb9574..5d16e4e 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -4670,7 +4670,7 @@ static void writeIndex(OutputList &ol) ol.parseText(/*projPrefix+*/ theTranslator->trModuleIndex()); ol.endIndexSection(isModuleIndex); } - if (documentedNamespaces>0) + if (Config_getBool(SHOW_NAMESPACES) && (documentedNamespaces>0)) { ol.startIndexSection(isNamespaceIndex); ol.parseText(/*projPrefix+*/(fortranOpt?theTranslator->trModulesIndex():theTranslator->trNamespaceIndex())); |