Hello Christoph,

This is now Issue 69084.

Best regards

Andreas

Christoph Neumann schrieb:
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("com.sun.star.frame.Desktop");

      XComponentLoader xComponentLoader =
(XComponentLoader)UnoRuntime.queryInterface(XComponentLoader.class,
object);
      XComponent xComponent =
xComponentLoader.loadComponentFromURL("file:///c:/MyDB2.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: [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