summaryrefslogtreecommitdiffstats
path: root/src/markdown.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/markdown.cpp
parent77d5346f4866429b240b96a146381e770e5e0788 (diff)
downloadDoxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.zip
Doxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.tar.gz
Doxygen-1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0.tar.bz2
Restructure section handling
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index d0262b3..b9b92c3 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -1957,20 +1957,20 @@ void writeOneLineHeaderOrRuler(GrowBuf &out,const char *data,int size)
QCString hTag;
if (level<5 && !id.isEmpty())
{
- SectionInfo::SectionType type = SectionInfo::Anchor;
+ SectionType type = SectionType::Anchor;
switch(level)
{
- case 1: out.addStr("@section ");
- type=SectionInfo::Section;
+ case 1: out.addStr("@section ");
+ type=SectionType::Section;
break;
- case 2: out.addStr("@subsection ");
- type=SectionInfo::Subsection;
+ case 2: out.addStr("@subsection ");
+ type=SectionType::Subsection;
break;
- case 3: out.addStr("@subsubsection ");
- type=SectionInfo::Subsubsection;
+ case 3: out.addStr("@subsubsection ");
+ type=SectionType::Subsubsection;
break;
- default: out.addStr("@paragraph ");
- type=SectionInfo::Paragraph;
+ default: out.addStr("@paragraph ");
+ type=SectionType::Paragraph;
break;
}
out.addStr(id);