summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index cf71914..4a4757d 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1197,12 +1197,12 @@ void MemberDef::writeDeclaration(OutputList &ol,
}
// write search index info
- //if (Config_getBool("SEARCHENGINE") && !isReference())
- //{
- // Doxygen::searchIndex->setCurrentDoc(qualifiedName(),getOutputFileBase(),anchor());
- // Doxygen::searchIndex->addWord(localName(),TRUE);
- // Doxygen::searchIndex->addWord(qualifiedName(),FALSE);
- //}
+ if (Doxygen::searchIndex && isLinkableInProject())
+ {
+ Doxygen::searchIndex->setCurrentDoc(qualifiedName(),getOutputFileBase(),anchor());
+ Doxygen::searchIndex->addWord(localName(),TRUE);
+ Doxygen::searchIndex->addWord(qualifiedName(),FALSE);
+ }
QCString cname = d->name();
QCString cfname = getOutputFileBase();