[Libreoffice-bugs] [Bug 118730] Label in report builder doesn't have text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 25 12:04:12 UTC 2018


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

Armin Le Grand (CIB) <Armin.Le.Grand at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |Armin.Le.Grand at me.com
                   |desktop.org                 |

--- Comment #3 from Armin Le Grand (CIB) <Armin.Le.Grand at me.com> ---
SdrPage (or in this case OReportPage) is not available yet in
OUnoObject::EndCreate because the OUnoObject is not yet inserted, thus no label
gets set (and no SetPropsFromRect is called).
This is a follow up problem to removing the old stuff that first a SdrPage* at
the SdrObjects was set *without* the SdrObject being inserted to any
SdrObjList. It works no longer - the SdrPage which you can get now is the one
the SdrObject *is* inserted at.
Solution is to move that stuff - plus other initializations which were done in
OUnoObject::EndCreate before - to where it belongs. This gets rid of
OUnoObject::EndCreate completely. It makes
OUnoObject::impl_setReportComponent_nothrow no longer needed due to being used
only in one place. All initializations move to OUnoObject::CreateMediator which
anyways needs to be done when a OUnoObject got created.
Testing if this works as intended...

-- 
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/20180725/6bf26576/attachment.html>


More information about the Libreoffice-bugs mailing list