summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-02-16 21:34:46 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-02-21 20:07:13 (GMT)
commit1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0 (patch)
tree6fffef6f3e26de59a3252bcdb6890cf5b50fb887 /src/groupdef.cpp
parent77d5346f4866429b240b96a146381e770e5e0788 (diff)
downloadDoxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.zip
Doxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.tar.gz
Doxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.tar.bz2
Restructure section handling
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 0d6d43f..7b954e5 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -1101,13 +1101,13 @@ void GroupDefImpl::writePageDocumentation(OutputList &ol)
{
if (!pd->isReference())
{
- SectionInfo *si=0;
+ const SectionInfo *si=0;
if (pd->hasTitle() && !pd->name().isEmpty() &&
- (si=Doxygen::sectionDict->find(pd->name()))!=0)
+ (si=SectionManager::instance().find(pd->name()))!=0)
{
- ol.startSection(si->label,si->title,SectionInfo::Subsection);
- ol.docify(si->title);
- ol.endSection(si->label,SectionInfo::Subsection);
+ ol.startSection(si->label(),si->title(),SectionType::Subsection);
+ ol.docify(si->title());
+ ol.endSection(si->label(),SectionType::Subsection);
}
ol.startTextBlock();
ol.generateDoc(pd->docFile(),pd->docLine(),pd,0,pd->documentation()+pd->inbodyDocumentation(),TRUE,FALSE,0,TRUE,FALSE);