Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 24814 → Rev 24815

/trunk/Scribus/scribus/text/textlayout.cpp
103,13 → 103,21
if (boxes.isEmpty())
return;
 
GroupBox* column = dynamic_cast<GroupBox*>(boxes.last());
int columnIndex = boxes.size() - 1;
while (columnIndex >= 0)
{
GroupBox* column = dynamic_cast<GroupBox*>(boxes[columnIndex]);
assert(column);
 
int lineCount = column->boxes().count();
if (lineCount > 0)
{
column->removeBox(lineCount - 1);
break;
}
--columnIndex;
}
}
 
void TextLayout::render(ScreenPainter *p, ITextContext *ctx) const
{