summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 8003fe0..63db0c4 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -1444,11 +1444,11 @@ void ClassDef::writeDocumentation(OutputList &ol)
}
}
- //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 exampleFlag=hasExamples();
//---------------------------------------- start flexible part -------------------------------