Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 21110 → Rev 21109

/trunk/Scribus/scribus/text/textlayout.cpp
101,9 → 101,7
// HACK: the ascent set by PageItem_TextFrame::layout()
// is useless, we reset it again based on the y position
ls->setAscent(ls->y() - m_box->boxes().last()->naturalHeight());
GroupBox* gb=dynamic_cast<GroupBox*>(m_box->boxes().last());
if (gb)
gb->addBox(ls);
dynamic_cast<GroupBox*>(m_box->boxes().last())->addBox(ls);
}
 
// Remove the last line from the list. Used when we need to backtrack on the layouting.