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


User ab changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|RESOLVED                  |REOPENED
--------------------------------------------------------------------------------
                Resolution|FIXED                     |
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Jan 30 02:10:57 -0800 
2006 -------
Sample program:

Sub Main
    oPSM = GetProcessServiceManager()
    oBasProv = oPSM.CreateInstanceWithArguments( _
        "com.sun.star.script.provider.ScriptProviderForBasic", Array("user") )

    t$ = ""
    ListChildNodes( oBasProv, t$, 0 )
    MsgBox t$
End Sub

Sub ListChildNodes( oNode, t$, nLevel )
    Dim aChildNodeArray
    aChildNodeArray = oNode.getChildNodes()
    nLen = ubound( aChildNodeArray )
    for i = 0 to nLen
        oChild = aChildNodeArray( i )
        for j = 0 to nLevel
            t$ = t$ + "    "
        next j
        t$ = t$ + oChild.getName() + chr(13)
        ListChildNodes( oChild, t$, nLevel + 1 )
    next i
End Sub

Before the fix this program broke with an error  when calling
getName() at a module node. Now it should display something
like the following:

Standard
    Module1
        ListChildNodes
        Main
Library1
    Module1
        Main

Of course this output depends on the existance of additional
libraries, modules etc.


re-open issue and reassign to [EMAIL PROTECTED]

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