Skip to content

Commit

Permalink
Bug 742230 - @todo paragraphs incorrectly placed in rtf output
Browse files Browse the repository at this point in the history
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 600d585
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rtfdocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 600d585

Please sign in to comment.