Permalink
Browse files

Bug 742230 - @todo paragraphs incorrectly placed in rtf output

Start a new paragraph, in case not yet a new paragraph has been started.
  • Loading branch information...
albert-github committed Jan 3, 2015
1 parent a1f2872 commit 600d5859d7bcb94b08ef656fd427914766ae9afe
Showing with 5 additions and 0 deletions.
  1. +5 −0 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;

0 comments on commit 600d585

Please sign in to comment.