To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76137





------- Additional comments from [EMAIL PROTECTED] Mon Dec 17 19:43:21 +0000 
2007 -------
This isn't a bug.  It's a "feature by design".  The getDataArray method 
returns a Sequence of Sequence which the Basic RTL maps onto a VariantArray, 
where each element is itself a Variant Array.  This is *NOT* a 2-D array.  
Whilst this may seem counter intuitive, this is the current design, and not a 
bug.

I know that Noel Power was looking to support the VBA syntax for such 
constructs: 
     print v(r_idx)(c_idx)

The workaround specified isn't a workaround.  It's the documented (and 
somewhat crappy) metho of accessing such contructs.  Note that since Variant 
Arrays are passed by reference and not value the assignment tmp =  temp(c_idx)
is infact a reference and so 
    temp(c_idx) = 999  
in fact updates v(r_idx)(c_idx)

So this is not a defect.  Sorry
    

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