summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 5ade803..d2e3e01 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -511,9 +511,9 @@ void Definition::addSectionsToIndex()
}
}
-void Definition::writeDocAnchorsToTagFile()
+void Definition::writeDocAnchorsToTagFile(FTextStream &tagFile)
{
- if (!Config_getString("GENERATE_TAGFILE").isEmpty() && m_impl->sectionDict)
+ if (m_impl->sectionDict)
{
//printf("%s: writeDocAnchorsToTagFile(%d)\n",name().data(),m_impl->sectionDict->count());
SDict<SectionInfo>::Iterator sdi(*m_impl->sectionDict);
@@ -523,15 +523,13 @@ void Definition::writeDocAnchorsToTagFile()
if (!si->generated)
{
//printf("write an entry!\n");
- if (definitionType()==TypeMember) Doxygen::tagFile << " ";
- Doxygen::tagFile << " <docanchor file=\""
- << si->fileName << "\"";
+ if (definitionType()==TypeMember) tagFile << " ";
+ tagFile << " <docanchor file=\"" << si->fileName << "\"";
if (!si->title.isEmpty())
{
- Doxygen::tagFile << " title=\"" << convertToXML(si->title) << "\"";
+ tagFile << " title=\"" << convertToXML(si->title) << "\"";
}
- Doxygen::tagFile << ">" << si->label
- << "</docanchor>" << endl;
+ tagFile << ">" << si->label << "</docanchor>" << endl;
}
}
}