Hi Andreas,
a crash is always a bug. Can you please file an issue?
Thx,
Christoph
Andreas Bröker schrieb:
> Hello,
>
> I loaded an odb document with the XComponentLoader.
Using the XStorable
> interface of the document causes an OpenOffice.org
crash (My java code
> does not return from the method storable.store()). This
is my code:
>
> Object object =
>
application.getServiceProvider().createServiceWithContext(&
quot;com.sun.star.frame.Desktop");
>
> XComponentLoader xComponentLoader =
>
(XComponentLoader)UnoRuntime.queryInterface(XComponentLoader
.class,
> object);
> XComponent xComponent =
>
xComponentLoader.loadComponentFromURL("file:///c:/MyDB
2.odb", "_blank",
> FrameSearchFlag.ALL, new PropertyValue[0]);
> XStorable storable =
> (XStorable)UnoRuntime.queryInterface(XStorable.class,
xComponent);
> storable.store();
>
> Is this a bug?
>
> Thanks for any help in advance.
>
> Best regards
>
> Andreas
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
> For additional commands, e-mail: dev-help api.openoffice.org
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|