Apache OpenOffice (AOO) Bugzilla – Issue 87199
crash when pasting a control from Writer to Calc
Last modified: 2008-04-22 14:36:18 UTC
- open a new text document - insert a button from the "Form Controls" toolbar - copy this button to the clipboard (Edit/Copy) - open a new spreadsheet document - paste the button (Edit/Paste) => crash
fs->cl: the crash is in XMLStyleExport::exportStyleFamily, where the model which is being exported (GetExport().GetModel()) is queried for the XStyleFamiliesSupplier interface, which it does not support - nonetheless, the NULL pointer resulting from the query is used without checks. While I think that the this code is too generous - it should check the XStyleFamiliesSupplier interface it got -, nothing relevant changed between m2 and m3 in xmloff/source/style, so the root cause of the problem must be somewhere in the model implementation, which is a SvxUnoDrawingModel. For both classes - SvxUnoDrawingModel and XMLStyleExport -, I think you're better suited in finding out the cause, or a responsible person, than I am. Thanks :)
fixed, same root cause as issue 87243
back to qa
Verified in CWS.
Tested in m10. Closed.