summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 1c08b4e..8dfdd15 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -401,11 +401,11 @@ void NamespaceDef::writeDocumentation(OutputList &ol)
addGroupListToTitle(ol,this);
endTitle(ol,getOutputFileBase(),displayName());
- //if (Config_getBool("SEARCHENGINE"))
- //{
- // Doxygen::searchIndex->setCurrentDoc(pageTitle,getOutputFileBase());
- // Doxygen::searchIndex->addWord(localName(),TRUE);
- //}
+ if (Doxygen::searchIndex)
+ {
+ Doxygen::searchIndex->setCurrentDoc(pageTitle,getOutputFileBase());
+ Doxygen::searchIndex->addWord(localName(),TRUE);
+ }
bool generateTagFile = !Config_getString("GENERATE_TAGFILE").isEmpty();
if (generateTagFile)