On 08/09/2010 03:36 PM, Jean-Marc Lasgouttes wrote:
This causes a crash, because doc_it seems not to be properly
initialized or something.
What's weird is that when it was called like this:
it->fillWithBibKeys(d->bibinfo_, it)
it was fine. So the doc_it constructed here is not equivalent to the
one we get from the
code in Buffer::checkBibinfoCache().
The it that get passed leaves outside and point to the paragraph
position where the bibitem
inset is. Note that Inset::updateBuffer does have the iterator, so in
the end
it is going to work.
And maybe the safest thing is to provide a different method---basically
the old code---to be called from GuiCitation and changeRefs, i.e., when
we just need to update the BiblioInfo. This would basically be the old code.
Richard