https://bugs.documentfoundation.org/show_bug.cgi?id=118730
Armin Le Grand (CIB) <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|[email protected] |[email protected]
|desktop.org |
--- Comment #3 from Armin Le Grand (CIB) <[email protected]> ---
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs