On Sat, Dec 30, 2006 at 08:48:26PM +0100, Peter Kümmel wrote: > > bool Paragraph::hfillExpansion(Row const & row, pos_type pos) const > { > if (!isHfill(pos)) > return false; > > // at the end of a row it does not count > // unless another hfill exists on the line > if (pos >= row.endpos()) { > for (pos_type i = row.pos(); i < pos && !isHfill(i); ++i) > return false; > } > > > What's the idea of a return in a for loop?
Good question... Andre'