diff options
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 10 |
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()) { |