Apache OpenOffice (AOO) Bugzilla – Issue 110861
Crash when pasting slide
Last modified: 2017-05-20 10:23:54 UTC
Open a new draw and copy the page in slide pane. Close the doc, open a new one and insert the copied page: Office crashes. This was ok in m75.
cl->aw: stack looks like mpbo regression svxcoremi.dll!GetDraftFillColor(const SfxItemSet & rSet={...}, Color & rCol={...}) Line 545 + 0x1a bytes C++ > svxcoremi.dll!SdrPage::GetPageBackgroundColor(SdrPageView * pView=0x12d63fa8, bool bScreenDisplay=true) Line 1881 + 0xd bytes C++ sdmi.dll!sd::View::CompleteRedraw(OutputDevice * pOutDev=0x12d551d8, const Region & rReg={...}, sdr::contact::ViewObjectContactRedirector * pRedirector=0x00000000) Line 537 + 0x16 bytes C++ sdmi.dll!sd::DrawView::CompleteRedraw(OutputDevice * pOutDev=0x12d551d8, const Region & rReg={...}, sdr::contact::ViewObjectContactRedirector * pRedirector=0x00000000) Line 522 C++ sdmi.dll!sd::DrawViewShell::Paint(const Rectangle & rRect={...}, sd::Window * pWin=0x12d551d8) Line 484 + 0x3d bytes C++ sdmi.dll!sd::Window::Paint(const Rectangle & rRect={...}) Line 311 C++ vclmi.dll!Window::ImplCallPaint(const Region * pRegion=0x12ae6e60, unsigned short nPaintFlags=0x0038) Line 2436 C++
AW: Indeed, inside SdrPage not all paths do the right thing with the local mpSdrPageProperties, e.g. when copy-constructing (which uses operator=) and in SdrPage::SetModel. All in all, the SdrPageProperties(const SdrPageProperties& rCandidate) constructor should be removed again to make sure the SdrPage-binding is correct.
AW: This solved the problem. Checked in, done.
*** Issue 111078 has been marked as a duplicate of this issue. ***
AW: Checked in CWS aw081, works as expected. AW->WG: Please verify.
Verified in CWS.