>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> bool needEnumCounterReset(ParagraphList & pars, size_t const pos) 

Abdelrazak> Maybe I am missing something but this is simpler. Please
Abdelrazak> correct me if I am wrong.

I agree that using dociterators all over makes a code a bit longer,
but a big advantage is that we pass just one object to the function
instead of a (ParagraphList,pos) [and of course your pos should be a
pit, so your are preparing us for more confusion]. We have fixed
*many* bugs in the core where people used a parlist index with the
wrong parlist. I am not going to fight about keeping this function as
it is, I do not really care. What would be more useful though is to
see a profile so that we see what the problem actually is. Rewriting
everything just in case it helps will not give us the solution.

JMarc

Reply via email to