To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52198
                  Issue #:|52198
                  Summary:|Copy to clipboard using dispatch causes OOo to crash.
                Component:|framework
                  Version:|680m112
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|scripting
              Assigned to:|npower
              Reported by:|pitonyak





------- Additional comments from [EMAIL PROTECTED] Tue Jul 19 20:11:51 -0700 
2005 -------
I have verified the following error using 1.1.4 and 1.9.112.

Using a Calc document, I can use a dispatch in a Macro to copy selected cells to
the clipboard. If only a portion of a cell is selected, however, then using a
dispatch to copy to the clipboard causes OOo to crash.

Sub Main
  Dim oDisp As Object
  Dim oCtl  As Object
  Dim oFrame
  oCtl = ThisComponent.getCurrentController()
  oFrame = oCtl.getFrame()
  oDisp = createUnoService("com.sun.star.frame.DispatchHelper")
  oDisp.executeDispatch(oFrame, ".uno:Copy", "", 0, Array())
End Sub

I will attach a Calc document that you can use to duplicate this error.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to