To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=43838
Issue #:|43838
Summary:|ReDim Preserve fails
Component:|framework
Version:|OOo 2.0 Beta
Platform:|All
URL:|
OS/Version:|Linux
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|scripting
Assigned to:|npower
Reported by:|pitonyak
------- Additional comments from [EMAIL PROTECTED] Tue Mar 1 19:18:32 -0800
2005 -------
This is very strange. This code as working on Windows I think, and then when I
moved this to Linux, it failed. I am running 2.0 Beta in both places. I can not
reverify on windows at the moment because I am at home not at work and I only
own a Linux computer for home use.... :-(
Sub TestIt
Dim oParms1() As New com.sun.star.beans.PropertyValue
Ta(oParms1())
Ta(oParms1())
Ta(oParms1())
Dim oParms2() As New com.sun.star.beans.PropertyValue
Tb(oParms2())
End Sub
Sub TA(oProperties())
Dim iUB As Integer
Dim iLB As Integer
iUB = UBound(oProperties()) + 1
iLB = LBound(oProperties())
ReDim Preserve oProperties(iLB To iUB)
End Sub
Sub TB(oProperties())
Dim iUB As Integer
iUB = UBound(oProperties()) + 1
REM Array must be dimensioned failure!
ReDim Preserve oProperties(LBound(oProperties()) To iUB)
End Sub
---------------------------------------------------------------------
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]