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

--- Comment #12 from Stepas Toliautas <[email protected]> ---
(while I'm waiting for an endless build to end...)
Cell also has GetObjectItemSet that does exactly the same thing as GetItemSet
(except for not having second const qualifier), but is null-pointer-guarded and
emits warning specific to the Cell. As far as I can see, that message is first
of two things that differ between SdrText and Cell implementations of these two
functions.
The second thing being that Cell gets its "ObjectItemSet" through
TextProperties, while SdrText accesses its parent, AttributeProperties.
Actually, Cell.mpProperties member is of type CellProperties (child of
TextProperties) that inside the Clone function has warning "does not work yet!"
and calls CellProperties __with a nullptr as its last argument (which is
supposed to be 'this' of the cell-in-construction)__, but still overrides
upstream Clone with it. As the crash occurs on newly-duplicated slide (that one
reasonably expects to involve some object cloning), I'm tempted to set a break
in there and see what happens.

-- 
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

Reply via email to