summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-12-22 16:03:24 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-12-22 16:03:24 (GMT)
commitf4fab829c8e9b4bf54c60fd85805eb008c3838ab (patch)
treeed7891ebf8c1dbed877ba72eecb07d5da29b4978 /src/namespacedef.cpp
parent4a482aae6c3ab0a02ce39a33fa14410ebaec6bc4 (diff)
downloadDoxygen-f4fab829c8e9b4bf54c60fd85805eb008c3838ab.zip
Doxygen-f4fab829c8e9b4bf54c60fd85805eb008c3838ab.tar.gz
Doxygen-f4fab829c8e9b4bf54c60fd85805eb008c3838ab.tar.bz2
Release-1.6.1-20091222
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)