https://bugs.documentfoundation.org/show_bug.cgi?id=143514
Bug ID: 143514
Summary: Crash when closing document after clearContents in
dbgutil build
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Created attachment 173807
--> https://bugs.documentfoundation.org/attachment.cgi?id=173807&action=edit
Macro in the document results in crash when closing
Open the attached document in a dbgutil build, and run the macro "crash" in it.
Then close the document => crash.
The macro is
Sub crash()
doc = thisComponent
scene = doc.createInstance("com.sun.star.drawing.Shape3DSceneObject")
doc.DrawPages(0).add(scene)
scene.add(doc.createInstance("com.sun.star.drawing.Shape3DCubeObject"))
sheet = doc.Sheets(0).clearContents(1023)
' doc.close(false)
End Sub
It basically adds a scene to the document's draw page, a cube to the scene,
then calls clearContents on the sheet.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs