Issue 117297 - CreateUnoService fails for an object that supports XIndexAccess
Summary: CreateUnoService fails for an object that supports XIndexAccess
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: DEV300m101
Hardware: All All
: P3 Normal (vote)
Target Milestone: 3.4.0
Assignee: ab
QA Contact: issues@framework
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2011-03-09 13:12 UTC by niklas.nebel
Modified: 2012-06-13 12:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description niklas.nebel 2011-03-09 13:12:51 UTC
The following macro

Sub TestMacro
    oObj = CreateUnoService( "com.sun.star.sheet.FunctionDescriptions" )
    print IsNull(oObj)
End Sub

prints "True", because SbiRuntime::CheckArray calls getByIndex(0) for the returned object. This was changed in CWS mib19 for #163416#.
Comment 1 niklas.nebel 2011-03-09 13:36:09 UTC
This might be fixed with CWS ab81 already.
Comment 2 niklas.nebel 2011-03-09 14:04:15 UTC
Yes, it works again in DEV300m102. So this issue can be closed.
Comment 3 Oliver-Rainer Wittmann 2012-06-13 12:29:05 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.