# Conflicts:
#	limereport/items/lrtextitem.cpp
This commit is contained in:
Arin Alexander 2017-05-15 20:32:33 +03:00
commit c4f20b78c1

View File

@ -502,8 +502,10 @@ TextItem::TextPtr TextItem::textDocument() const
setTextFont(text,_font); setTextFont(text,_font);
} }
//text->documentLayout(); if (follower())
if (m_lineSpacing != 1 || m_textIndent != 0 ){ text->documentLayout();
if (m_lineSpacing != 1 || m_textIndent !=0 ){
for ( QTextBlock block = text->begin(); block.isValid(); block = block.next()) for ( QTextBlock block = text->begin(); block.isValid(); block = block.next())
{ {