diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-02-11 17:19:49 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-02-11 17:19:49 (GMT) |
commit | 15070304ed1abb8985689001514422726eb3b4bc (patch) | |
tree | b54ee7e23993954a0c1993533b45887869076251 /src | |
parent | 0bd419e0a4fabf615fb72eb92bf561d3dfc96a11 (diff) | |
parent | 17bd813313cf073a437001f2fa550f286458586e (diff) | |
download | Doxygen-15070304ed1abb8985689001514422726eb3b4bc.zip Doxygen-15070304ed1abb8985689001514422726eb3b4bc.tar.gz Doxygen-15070304ed1abb8985689001514422726eb3b4bc.tar.bz2 |
Merge pull request #453 from waltronix/master
Master
Diffstat (limited to 'src')
-rw-r--r-- | src/rtfdocvisitor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 07a1046..7386c6e 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -1015,17 +1015,17 @@ void RTFDocVisitor::visitPre(DocHtmlHeader *header) heading.sprintf("Heading%d",level); // set style m_t << rtf_Style[heading]->reference; - // make table of contents entry - m_t << "{\\tc\\tcl \\v " << level << "}"; + // make open table of contents entry that will be closed in visitPost method + m_t << "{\\tc\\tcl" << level << " "; m_lastIsPara=FALSE; - } void RTFDocVisitor::visitPost(DocHtmlHeader *) { if (m_hide) return; DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocHtmlHeader)}\n"); - m_t << "\\par"; + // close open table of contens entry + m_t << "} \\par"; m_t << "}" << endl; // end section m_lastIsPara=TRUE; } |