diff options
author | albert-github <albert.tests@gmail.com> | 2015-01-03 14:28:43 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-01-03 14:28:43 (GMT) |
commit | 600d5859d7bcb94b08ef656fd427914766ae9afe (patch) | |
tree | 8c1ec11a450eed92e8c61f457a00621c134ce64f /src/rtfdocvisitor.cpp | |
parent | a1f2872ef098cfcc526002b9c9d533da6f2775b5 (diff) | |
download | Doxygen-600d5859d7bcb94b08ef656fd427914766ae9afe.zip Doxygen-600d5859d7bcb94b08ef656fd427914766ae9afe.tar.gz Doxygen-600d5859d7bcb94b08ef656fd427914766ae9afe.tar.bz2 |
Bug 742230 - @todo paragraphs incorrectly placed in rtf output
Start a new paragraph, in case not yet a new paragraph has been started.
Diffstat (limited to 'src/rtfdocvisitor.cpp')
-rw-r--r-- | src/rtfdocvisitor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index a11e42f..20fbf53 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -1414,6 +1414,11 @@ void RTFDocVisitor::visitPre(DocXRefItem *x) if (x->title().isEmpty()) return; bool anonymousEnum = x->file()=="@"; DBG_RTF("{\\comment RTFDocVisitor::visitPre(DocXRefItem)}\n"); + if (!m_lastIsPara) + { + m_t << "\\par" << endl; + m_lastIsPara=TRUE; + } m_t << "{"; // start param list //m_t << "{\\b "; // start bold m_t << "{" << rtf_Style["Heading5"]->reference << endl; |