[Libreoffice-bugs] [Bug 143412] The texmaths extension makes LibO 7.2RC1 crash
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 21 09:14:53 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=143412
--- Comment #10 from Roland Baudin <roland65 at free.fr> ---
I have attached a complete example.
To reproduce the crash:
1. Download Test.zip and unzip it
2. Copy the Test.bas macro in Module1 and edit the line:
cURL = "file:///home/test/tmpfile.svg"
to reflect the path to tmpfile.svg.
3. Run the Test macro in LO 7.2 => LO 7.2 crashes
4. Set the variable Group to FALSE at line 11 => LO 7.2 does not crash
5. When the variable Group is set to TRUE, the following code is executed
(lines 31-39):
Dim oShapes as Variant
oShapes = createUnoService("com.sun.star.drawing.ShapeCollection")
Dim i as Integer
For i = 0 To oDrawPage.getCount()-1
oShapes.add(oDrawPage.getByIndex(i))
Next
oDrawPage.group(oShapes)
and then LO 7.2 crahes at line 60:
oDispatcher.executeDispatch( oDrawDocCtrl.Frame, ".uno:ChangeBezier", "", 0,
Array() )
If you set a breakpoint at this line, you will see the Draw document that is
opened and you can check that the graphic elements are grouped, as desired.
There is no crash in LO 7.1.
--
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/20210721/415c8cff/attachment.htm>
More information about the Libreoffice-bugs
mailing list