Am 23.09.2011 01:23, schrieb Bjoern Michaelsen:
On Thu, 22 Sep 2011 19:12:38 +0200
Michael Stahl <mst@openoffice.org> wrote:
is this the kind of crash that was introduced by mba's layout
refactoring (moving the layout from the model to the view) that went
into one of the last DEV300 milestones?
Likely.
i think the workaround for OOo 3.4 was this:
http://svn.apache.org/viewvc?rev=1172362&view=rev
wonder what Oliver and Mathias had in mind as the proper fix...
Given that that would work only by luck (and a good dose of evil
IsInDtor() sprayed in), I would consider it better to fix this like I
did. (Although: If more such gremlins pop up we should make that
SwDoc/SwRootFrm one janusfaced object to rule them all on the -3-4
branch again).
Your fix might help for the footnote case, but there is no guarantee
that there are not more complex layouts that suffer from the same
problem. Really, the layout is a complete mess, at least from an
architectural POV. There is no clear relationship and ownership between
objects. That might work better in a world with garbage collection, but
in the ugly world of pointers this is the road to hell.
So yes, your fix looks better in the first place, but it still contains
some risk. Choose what you like more.
Regards,
Mathias
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.