https://bugs.documentfoundation.org/show_bug.cgi?id=151064

            Bug ID: 151064
           Summary: CRASH: executing macro with .uno:InsertObjectChart
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: xiscofa...@libreoffice.org

1. Open Writer
2. Tools - Macro - Edit Macro
3. Execute

Sub Main

rem define variables
dim document   as object
dim dispatcher as object
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

dim args3(3) as new com.sun.star.beans.PropertyValue
args3(0).Name = "ColHeaders"
args3(0).Value = true
args3(1).Name = "RowHeaders"
args3(1).Value = false
args3(2).Name = "InNewTable"
args3(2).Value = false
args3(3).Name = "RangeList"
args3(3).Value = "Table1.A1:B2"

dispatcher.executeDispatch(document, ".uno:InsertObjectChart", "", 0, args3())

End Sub

-> Crash

Reproduced in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: f0359fb2f01ecf9aed470ae90604f9bd6eec3380
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (C); UI: en-US
Calc: threaded

and

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: en-US (C); Calc: group threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to