sb120: #i110944# jpipe.dll wrapper around jpipx.dll

This commit is contained in:
sb
2010-04-16 16:24:56 +02:00
parent b8393572a7
commit e0559c44fb

View File

@ -73,7 +73,7 @@ public final class OfficeConnection {
errForward.start();
XUnoUrlResolver resolver = UnoUrlResolver.create(
Bootstrap.createInitialComponentContext(null));
for (int i = 0;; ++i) {
for (;;) {
try {
factory = UnoRuntime.queryInterface(
XMultiServiceFactory.class,
@ -103,6 +103,8 @@ public final class OfficeConnection {
// it appears that DisposedExceptions can already happen while
// receiving the response of the terminate call
desktop = null;
} else if (process != null) {
process.destroy();
}
int code = 0;
if (process != null) {