[Libreoffice-bugs] [Bug 143514] New: Crash when closing document after clearContents in dbgutil build
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 23 15:14:04 UTC 2021
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: libreoffice-bugs at lists.freedesktop.org
Reporter: mikekaganski at hotmail.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210723/0a7aed9c/attachment.htm>
More information about the Libreoffice-bugs
mailing list