summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-12-22 16:03:24 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-12-22 16:03:24 (GMT)
commite32567534d95ff3960fa4dcad7733c18e1b39bc5 (patch)
treeed7891ebf8c1dbed877ba72eecb07d5da29b4978 /src/filedef.cpp
parent6f2abee157d4310a8272ca0f748ce6b812ae7260 (diff)
downloadDoxygen-e32567534d95ff3960fa4dcad7733c18e1b39bc5.zip
Doxygen-e32567534d95ff3960fa4dcad7733c18e1b39bc5.tar.gz
Doxygen-e32567534d95ff3960fa4dcad7733c18e1b39bc5.tar.bz2
Release-1.6.1-20091222
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 7dd8b79..c0e2d61 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -514,11 +514,11 @@ void FileDef::writeDocumentation(OutputList &ol)
ol.enableAll();
}
- //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);
+ }
if (!Config_getString("GENERATE_TAGFILE").isEmpty())
{