diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-02-21 20:10:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-02-21 20:10:45 (GMT) |
commit | 25d936ace1373b599050c263d3ddabedf54c373e (patch) | |
tree | 78db042e2c04089de54faabf889d247a9aa23722 /src/latexgen.cpp | |
parent | 597d113d52a25d5185c8fb1c1d3d3d7b8f1f4a90 (diff) | |
parent | 1a56a39b4a97452a5c7c2d8e9d39ab28ca33dff0 (diff) | |
download | Doxygen-25d936ace1373b599050c263d3ddabedf54c373e.zip Doxygen-25d936ace1373b599050c263d3ddabedf54c373e.tar.gz Doxygen-25d936ace1373b599050c263d3ddabedf54c373e.tar.bz2 |
Merge branch 'sections'
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index 6443a67..392e839 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -1779,7 +1779,7 @@ void LatexGenerator::addIndexItem(const char *s1,const char *s2) } -void LatexGenerator::startSection(const char *lab,const char *,SectionInfo::SectionType type) +void LatexGenerator::startSection(const char *lab,const char *,SectionType type) { static bool pdfHyperlinks = Config_getBool(PDF_HYPERLINKS); static bool usePDFLatex = Config_getBool(USE_PDFLATEX); @@ -1792,11 +1792,11 @@ void LatexGenerator::startSection(const char *lab,const char *,SectionInfo::Sect { switch(type) { - case SectionInfo::Page: t << "doxysubsection"; break; - case SectionInfo::Section: t << "doxysubsubsection"; break; - case SectionInfo::Subsection: t << "doxyparagraph"; break; - case SectionInfo::Subsubsection: t << "doxysubparagraph"; break; - case SectionInfo::Paragraph: t << "doxysubparagraph"; break; + case SectionType::Page: t << "doxysubsection"; break; + case SectionType::Section: t << "doxysubsubsection"; break; + case SectionType::Subsection: t << "doxyparagraph"; break; + case SectionType::Subsubsection: t << "doxysubparagraph"; break; + case SectionType::Paragraph: t << "doxysubparagraph"; break; default: ASSERT(0); break; } t << "{"; @@ -1805,18 +1805,18 @@ void LatexGenerator::startSection(const char *lab,const char *,SectionInfo::Sect { switch(type) { - case SectionInfo::Page: t << "doxysection"; break; - case SectionInfo::Section: t << "doxysubsection"; break; - case SectionInfo::Subsection: t << "doxysubsubsection"; break; - case SectionInfo::Subsubsection: t << "doxyparagraph"; break; - case SectionInfo::Paragraph: t << "doxysubparagraph"; break; + case SectionType::Page: t << "doxysection"; break; + case SectionType::Section: t << "doxysubsection"; break; + case SectionType::Subsection: t << "doxysubsubsection"; break; + case SectionType::Subsubsection: t << "doxyparagraph"; break; + case SectionType::Paragraph: t << "doxysubparagraph"; break; default: ASSERT(0); break; } t << "{"; } } -void LatexGenerator::endSection(const char *lab,SectionInfo::SectionType) +void LatexGenerator::endSection(const char *lab,SectionType) { t << "}\\label{" << lab << "}" << endl; } |