diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-31 14:39:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-31 14:39:00 (GMT) |
commit | 36b69fbd6ada3764daad8c7c0b880b6bb3784a48 (patch) | |
tree | 0b575b6fe39fcb9b2fb33ea6b18d88bc1bc9bf27 /src | |
parent | d57ce63ad7dc2bc61d05980e984408f1b63ff59d (diff) | |
parent | ddd5dac97e2dc0af0976a765ea405ba24e136349 (diff) | |
download | Doxygen-36b69fbd6ada3764daad8c7c0b880b6bb3784a48.zip Doxygen-36b69fbd6ada3764daad8c7c0b880b6bb3784a48.tar.gz Doxygen-36b69fbd6ada3764daad8c7c0b880b6bb3784a48.tar.bz2 |
Merge branch 'mosra-invalid-xml-for-empty-toc'
Diffstat (limited to 'src')
-rw-r--r-- | src/xmlgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 44061f6..033e611 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1819,7 +1819,7 @@ static void generateXMLForPage(PageDef *pd,FTextStream &ti,bool isExample) } writeInnerPages(pd->getSubPages(),t); SectionDict *sectionDict = pd->getSectionDict(); - if (sectionDict && pd->localToc().isXmlEnabled()) + if (pd->localToc().isXmlEnabled() && sectionDict) { t << " <tableofcontents>" << endl; SDict<SectionInfo>::Iterator li(*sectionDict); |