Apache OpenOffice (AOO) Bugzilla – Issue 95626
Crash pasting two or more graphics from Windows Explorer
Last modified: 2013-08-07 14:43:11 UTC
Copying two or more selected images in Windows Explorer and pasting into Writer causes a crash and Writer is not able to rebuild the document.
Confirmed on Windows XP Home and OpenOffice Writer 3.0
Confirmed for me also on Windows XP Professional Version 2002, Service Pack 3 with OpenOffice Writer 3.0.0.
MRU->OD: in Windows Explorer select two or more graphic files, copy to clipboard, paste into Writer -> crash.
Investigation reveals that one of the pasted graphics got the other graphic as its anchor. This is not allowed. The layout algorithm does not expect such an anchor and produces a null pointer access. Defect cause: Not found yet Proposed solution: Assure that all pasted graphics are anchored at the same anchor - e.g. the paragraph the cursor is in. Accepted this issue to fix it for OOo 3.1
Investigation reveals that method <SwWrtShell::UnSelectFrm()> no longer functions due to changes to method <SwRootFrm::GetCrsrOfst(..)>
fixed in cws sw31bf03 - changed file: /sw/source/core/layout/trvlfrm.cxx, rev. 265778 solution: <SwWrtShell::UnSelectFrm(..)> does not work, because <SwRootFrm::GetCrsrOfst(..)> does not change the cursor for a search coordination, which is beyond the root frame's area. Thus, introduced special handling for this situation.
OD->MRU: Checked in internal installation set of cws sw31bf03 - please verify.
Verified fix in CWS sw31bf03.
Checked in DEV300m41.
*** Issue 100465 has been marked as a duplicate of this issue. ***