On Tue, Mar 30, 2004 at 02:08:27PM +0200, Alfredo Braunstein wrote: > Alfredo Braunstein wrote: > > > Angus Leeming wrote: > > > >>> Just commit and we solve it later if there is any problem at all ;-) > >> > >> Hmmm. Your last commit means that now I don't even enter the loop. > > > > > > > >> Even changing to the explicit doesn't help: > >> > >> InsetBase & inset = owner->buffer()->inset(); > >> InsetIterator it = inset_iterator_begin(inset); > >> InsetIterator const end = inset_iterator_begin(inset); > > ^^^^^ > > is this just an error in your post or in the test you've made? > > Just to clarify: > > InsetIterator it(inset) is now the end (void) iterator.
You could have avoided this confusion by e.g. using DocIterator(inset) as the begin iterator and DocIterator(inset, int dummy) as end iterator. Andre'