Apache OpenOffice (AOO) Bugzilla – Issue 113685
Static BitmapEx causes crash on exit.
Last modified: 2022-10-28 12:54:24 UTC
The soft shadow, introduced by issue 110498, uses indirectly a static BitmapEx object. This causes a crash on some systems when the office is exited. See issue 112758 for a description of the general problem with static BitmapEx objects. The BitmapEx object in question is not static in itself, but is held by a static drawinglayer::primitive2d::DiscreteShadow object. See ViewContactOfPageShadow::createViewIndependentPrimitive2DSequence() for its definition.
Fixed by using the vcl::DeleteOnDeinit<> template for the DescreteShadow object.
Thanks, A question, can you provide us a patch? Greetings Raphael
(In reply to comment #2) > Thanks, > > A question, can you provide us a patch? > > Greetings Raphael groucho266 seems to be Andre (or may be some developer from the Sun impress team). Adding him on Cc.
ALG: vcl::DeleteOnDeinit is already used in svx/source/sdr/contact/viewcontactofsdrpage.cxx line 168, seems to be in for quite some time.