incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118815] New: "com.sun.star.configuration.bootstrap.BootstrapContext" broken?
Date Wed, 18 Jan 2012 18:07:04 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118815

             Bug #: 118815
        Issue Type: DEFECT
           Summary: "com.sun.star.configuration.bootstrap.BootstrapContext
                    " broken?
    Classification: Code
           Product: framework
           Version: OOo 3.4 Beta
          Platform: PC
        OS/Version: Windows, all
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: scripting
        AssignedTo: ab@openoffice.org
        ReportedBy: brinzing@openoffice.org
                CC: ooo-issues@incubator.apache.org


the following vb script will fail with aoo3.
it worked with oo 3.2.

workaround for aoo3.4:
use "Set oContext = oSM.DefaultContext"
instead of "Set oContext =
oSM.createInstance("com.sun.star.configuration.bootstrap.BootstrapContext")"

' vb script
Set oSM = WScript.CreateObject("com.sun.star.ServiceManager")
Set oContext =
oSM.createInstance("com.sun.star.configuration.bootstrap.BootstrapContext")
Set oTDM =
oContext.getValueByName("/singletons/com.sun.star.reflection.theTypeDescriptionManager")
MsgBox "HARD_SPACE: " &
oTDM.getByHierarchicalName("com.sun.star.text.ControlCharacter.HARD_SPACE")

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message