To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103984
                 Issue #|103984
                 Summary|XChartDataArray / setDataArray broken
               Component|Spreadsheet
                 Version|OOo 3.1
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|programming
             Assigned to|spreadsheet
             Reported by|ms7777





------- Additional comments from [email protected] Mon Aug  3 21:19:10 
+0000 2009 -------
In charts generated by code, the setDataArray function kills OO:

Sub GetAndSetChartData
 Dim aRect as new com.sun.star.awt.Rectangle 
 Dim oX

 oCharts = ThisComponent.Sheets.getByIndex(0).Charts 

 oCharts.addNewByName("chart11", aRect, Array(), False, True) 
 oChartDoc = oCharts.getByName( "chart11" ).EmbeddedObject 

 oX = oChartDoc.Data.getData() 
 oChartDoc.Data.setData(oX) '<- this line kills OO
End Sub

The same behavior occurs if I create oX by code as a sequence of sequences with 
exactly the same structure as getData returns.

Prio P2 because it looks like regression: According to 
http://www.oooforum.org/forum/viewtopic.phtml?t=86884 , this has worked in OO 
2.2

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