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


User netforce1 changed the following:

                What    |Old value                 |New value
================================================================================
                 Summary|Invoking XPackage.isRegist|Invoking XPackage.isRegist
                        |ered from Java crashes the|ered from UNO crashes the 
                        | Office                   |Office
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Sep  3 12:10:29 +0000 
2008 -------
StarBasic testcase:

Sub Main

factory =
GetProcessServiceManager().DefaultContext().getValueByName("/singletons/com.sun.star.deployment.thePackageManagerFactory")
manager = factory.getPackageManager("shared")
packages() = manager.getDeployedPackages(null, null)

For i = LBound(packages) to UBound(packages)
        pkg = packages(i)
        txt = "package: " & pkg.getDisplayName()
        txt = txt & "\n  version: " + pkg.getVersion()
        txt = txt & "\n  enabled: " + pkg.isRegistered(null, null)
        msgbox txt
Next i

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]

Reply via email to