[Libreoffice-bugs] [Bug 127481] EDITING: Crash in sdr::table::Cell::GetItemSet() (on double-click in 1x1 table within duplicated slide)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 15 00:58:21 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=127481
--- Comment #12 from Stepas Toliautas <stepas.toliautas at gmail.com> ---
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191215/39adf414/attachment.htm>
More information about the Libreoffice-bugs
mailing list