Jean-Marc Lasgouttes schreef:
Le 15 juil. 09 à 00:11, Vincent van Ravesteijn a écrit :
Changes are accepted in the selection, which need bufferparams().

Yes, this is what I saw. So it is my fault after all :)

I guess the problem is r30531, which should probably be reverted (I do
not have time to do it cleanly, but it almost reverts).

The bparams argument i actually only needed in acceptChanges (paragraph_funcs.cpp),
which in turns needs it for mergeParagraph, which needs it for moveItem.

Finally, moveItem needs this information only to be able to call getFontSettings.
I doubt that this operation really requires the bufferparam...

Confused,
JMarc
copySelectionHelper calls: acceptChanges(copy_pars, buf.params());

This means that the paragraphs are already copied into the ParagraphList and they don't have a buffer anymore.

Vincent




Reply via email to