which is just very, very wrong. It caused all marks to be exported, not just bookmarks. These include -- among other interesting things -- the internal UnoMarks, that should never, ever be visible via API (and whose lifetime is handled internally: they are transient).
As the temporary UnoMarks are generated internally whenever somebody even creates an UnoCursor (which everyone doing stuff working with Bookmarks/Fieldmarks/whatever does: for example to create a Bookmark), this horribly breaks the whole Bookmark/Fieldmark-API.
I will revert that commit tomorrow and suggest to find a clean solution instead of this dangerous hack.
Finally rootcaused this down to:
http:// cgit.freedeskto p.org/libreoffi ce/core/ commit/ ?id=693b095ee8b 7406c4aa0fd5b2b d0221bdcab304f
which is just very, very wrong. It caused all marks to be exported, not just bookmarks. These include -- among other interesting things -- the internal UnoMarks, that should never, ever be visible via API (and whose lifetime is handled internally: they are transient).
As the temporary UnoMarks are generated internally whenever somebody even creates an UnoCursor (which everyone doing stuff working with Bookmarks/ Fieldmarks/ whatever does: for example to create a Bookmark), this horribly breaks the whole Bookmark/ Fieldmark- API.
I will revert that commit tomorrow and suggest to find a clean solution instead of this dangerous hack.