incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119927] Aoo 3.4.0 clis dll are not backward compatible with ooo 3.3.0, 3.2.1 and lower
Date Mon, 11 Jun 2012 10:23:25 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119927

--- Comment #4 from Arnaud D <adovi@liciel.fr> ---
It returns an exception similiar to invalid cast type parameter

Here is the output, error is generated from the Xcomp line 


[map_to_uno():[]com.sun.star.beans.PropertyValue] conversion failed

 [map_to_uno():unoidl.com.sun.star.beans.PropertyValue.Value [map_to_uno():any]
could not convert type!



    Private Shared Sub OpenFileInternal(ByVal file As String, Optional ByVal
hide As Boolean = False)
        Try
            Dim localContext As XComponentContext = Bootstrap.bootstrap()
            Dim multiServiceFactory As XMultiServiceFactory =
localContext.getServiceManager()
            Dim componentLoader As XComponentLoader =
CType(multiServiceFactory.createInstance("com.sun.star.frame.Desktop"),
XComponentLoader)
            Dim xComp As XComponent =
componentLoader.loadComponentFromURL(PathConverter(file), "_blank", 0, New
PropertyValue() {New PropertyValue("Hidden", -1, New Any(hide),
PropertyState.DIRECT_VALUE)})
        Catch
            Throw
        Finally
        End Try

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message