From b90d628a80179f2a2c82f7d43bbec1df3f8190bb Mon Sep 17 00:00:00 2001 From: luzhetsky Date: Wed, 24 Oct 2018 15:47:29 +0300 Subject: Heading in rtf. #6522 https://github.com/doxygen/doxygen/issues/6522 --- src/rtfdocvisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 7fbfdc8..0be2266 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -1072,7 +1072,7 @@ void RTFDocVisitor::visitPre(DocHtmlHeader *header) m_t << "{" // start section << rtf_Style_Reset; QCString heading; - int level = QMIN(header->level()+2,4); + int level = QMIN(header->level(),5); heading.sprintf("Heading%d",level); // set style m_t << rtf_Style[heading]->reference; -- cgit v0.12