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

            Bug ID: 89460
           Summary: crash when calling uno slot on record changes if
                    already set
           Product: LibreOffice
           Version: 4.5.0.0.alpha0+ Master
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 113493
  --> https://bugs.documentfoundation.org/attachment.cgi?id=113493&action=edit
backtrace on master 4.5 dev

The macro recorder gives this snippet for changing the "Record Changes" state
in calc

dim args3(0) as new com.sun.star.beans.PropertyValue
args3(0).Name = "TraceChangeMode"
args3(0).Value = false
dispatcher.executeDispatch(document, ".uno:TraceChangeMode", "", 0, args3())

If "Record changes" is ON --> works
If "Record Changes" is already OFF --> crash

==> attached, a gdb bt
==> attached, a sample document with a macro reproducing (click button)

note : if we replace the boolean false par any other 'integer' value, no more
crash but the statement behaves as a toogle state --> ON, OFF, ON, OFF ...
don't know if this is related

-- 
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