[Libreoffice-bugs] [Bug 115041] Wrong SwXParagraph object from uno-Api

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 5 16:10:49 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=115041

Vasily Melenchuk (CIB) <vasily.melenchuk at cib.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Vasily Melenchuk (CIB) <vasily.melenchuk at cib.de> ---
I've checked situation deeper. In described case  SwXParagraph is gone into
disposing state: object is still exist, but content was moved to another nodes
after previous call of setString(): it was setting value for a range of
paragraphs, so current one became invalidated.

Anyway this seems not a problem that should be reported to UNO user, so
exception in this case was replaced by returning empty string and simple
warning into log. 

Fix for master is here:
https://gerrit.libreoffice.org/plugins/gitiles/core/+/dae741a2418f1d1dd35d364ec416516cc50f5054%5E%21

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181205/43f7a72c/attachment.html>


More information about the Libreoffice-bugs mailing list