https://bugs.freedesktop.org/show_bug.cgi?id=64639

          Priority: medium
            Bug ID: 64639
          Assignee: [email protected]
           Summary: Calc chart removeByName crash
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.0.2.2 release
         Component: Spreadsheet
           Product: LibreOffice

Found this when updating to LibreOffice 4.0.2.2 Portable.

I have a macro that removes an existing chart and then creates a new chart in
Calc. It works OK in Version 3.6.5.2 Portable.

The problem:
After creating a chart named "aChart" which is visible on the spreadsheet.
Running this code to remove it crashes LibreOffice. 
removeByName() is the problem.

oSheet = ThisComponent.sheets(0)
Charts = oSheet.Charts
if Charts.hasByName("aChart") then Charts.removeByName("aChart")

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to