On Sat, Mar 08, 2003 at 04:43:43PM +0100, Lars Gullik Bj?nnes wrote: > pos_type last = row.par()->beginningOfMainBody(); > > lyx::Assert(last > 0); > ^^^^^^^^^^^^^^^^^^^^^^
Bleh, OK, so we're calling labelFill on emptyPar. Now before, we ended up with a last of -1. We got away with it, I think : Paragraph::value_type Paragraph::Pimpl::getChar(pos_type pos) const { // This is in the critical path for loading! pos_type const siz = size(); lyx::Assert(pos <= siz); Well, where is the check for pos >= 0 ? I think that would be interesting. Now to verify the theory and see what to do about it john