https://bugs.documentfoundation.org/show_bug.cgi?id=166972
Bug ID: 166972
Summary: Accessing an indexed property of a COM object second
time fails
Product: LibreOffice
Version: 3.3.0 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
In bug 160770, the code is like this (here is a simplified version):
Function foo()
txt = "foo"
regex = CreateObject("VBScript.RegExp")
regex.Pattern = "(o)(o)"
matches = regex.Execute(txt)
If matches.Count > 0 Then
i1 = matches.Item(0).SubMatches.Item(0)
i2 = matches.Item(0).SubMatches.Item(1)
End If
End Function
This function fails on the line that assigns i2. Commenting out the previous
line (where i1 is assigned) makes it pass.
This worked in OOo; and still works in AOO. I suspect a regression from go-oo's
commit 0b21b8b146fc4b982c7c9bbb866b9ff18a29332a (initial commit for vba blob (
not including container_control stuff ), 2010-10-06).
--
You are receiving this mail because:
You are the assignee for the bug.