diff --git a/limereport/items/lrtextitem.cpp b/limereport/items/lrtextitem.cpp index 041a737..d3d658b 100644 --- a/limereport/items/lrtextitem.cpp +++ b/limereport/items/lrtextitem.cpp @@ -700,8 +700,7 @@ QString TextItem::getTextPart(int height, int skipHeight){ } linesHeight = 0; - qDebug()<end()); + for (;curBlock!=m_text->end() || curLinelineCount();curLine++){ if (resultText=="") textPos= curBlock.layout()->lineAt(curLine).textStart();