summaryrefslogtreecommitdiff
path: root/bean/com
diff options
context:
space:
mode:
Diffstat (limited to 'bean/com')
-rw-r--r--bean/com/sun/star/beans/LocalOfficeConnection.java3
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeConnection.java b/bean/com/sun/star/beans/LocalOfficeConnection.java
index e972e2b9ca13..b091d544d56d 100644
--- a/bean/com/sun/star/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/beans/LocalOfficeConnection.java
@@ -24,6 +24,7 @@ import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
+import java.util.Arrays;
import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.lang.XEventListener;
@@ -594,7 +595,7 @@ public class LocalOfficeConnection
// start process
mProcess = Runtime.getRuntime().exec(cmdArray);
if ( mProcess == null )
- throw new RuntimeException( "cannot start soffice: " + cmdArray );
+ throw new RuntimeException( "cannot start soffice: " + Arrays.toString(cmdArray) );
}
/**
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index f1299cdfbaf4..7f1a95a26834 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -24,6 +24,7 @@ import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
+import java.util.Arrays;
import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.lang.XComponent;
@@ -725,7 +726,7 @@ public class LocalOfficeConnection
// start process
mProcess = Runtime.getRuntime().exec(cmdArray);
if ( mProcess == null )
- throw new com.sun.star.uno.RuntimeException( "cannot start soffice: " + cmdArray );
+ throw new com.sun.star.uno.RuntimeException( "cannot start soffice: " + Arrays.toString(cmdArray) );
new StreamProcessor(mProcess.getInputStream(), System.out);
new StreamProcessor(mProcess.getErrorStream(), System.err);
}