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

            Bug ID: 164285
           Summary: Crash of LO by using macro which worked in 24.2.5.2
           Product: LibreOffice
           Version: 24.8.3.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Running a macro, which worked in all previous version, makes crash LibreOffice
if running under 24.8.3.2

Steps to Reproduce:
I use for a long time a macro in sCalc which should resize and place picture I
copy from the web (Copy image - CTRL+V). Until 24.8.2.5 it worked fine. After
upgrade to 24.8.3.2 LO crashes if I run the macro.

The crash report is here:
https://crashreport.libreoffice.org/stats/crash_details/17f19588-b76d-4c20-9453-4f47db059cf8

The macro is:
sub ResizeQR
        rem
----------------------------------------------------------------------
        rem define variables
        dim document   as object
        dim dispatcher as object
        rem
----------------------------------------------------------------------
        rem get access to the document
        document   = ThisComponent.CurrentController.Frame
        dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

        rem
----------------------------------------------------------------------
        rem dispatcher.executeDispatch(document, ".uno:TransformDialog", "", 0,
Array())

        rem
----------------------------------------------------------------------
        dim args2(3) as new com.sun.star.beans.PropertyValue
        args2(0).Name = "TransformPosX"
        args2(0).Value = 500
        args2(1).Name = "TransformPosY"
        args2(1).Value = 500
        args2(2).Name = "TransformWidth"
        args2(2).Value = 4300
        args2(3).Name = "TransformHeight"
        args2(3).Value = 4940

        dispatcher.executeDispatch(document, ".uno:TransformDialog", "", 0,
args2())


        end sub

Actual Results:
LO crashes

Expected Results:
Probably should not


Reproducible: Always


User Profile Reset: No

Additional Info:
As I am not very familiar with macros (this one I have founf probably somewhere
on web) I am not sure, if there is something wrong in the macro (but i did not
change it) or is this some bug of LO, as until 24.2.5.2 it worked.

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

Reply via email to