summaryrefslogtreecommitdiff
path: root/bean/com/sun/star/comp/beans
diff options
context:
space:
mode:
authorRobert Antoni Buj i Gelonch <robert.buj@gmail.com>2014-09-16 18:34:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-09-17 06:11:56 +0000
commit99920c36e926471311b940902c132d48370328ca (patch)
tree001463b5739c14b8748358b1cac68f3b823b4249 /bean/com/sun/star/comp/beans
parentbd21a82ea4c7499dd8401687f641d44a7593dc44 (diff)
bean: Array concatenated with a String
http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Arrays.html#toString(java.lang.Object[]) Change-Id: I42090bf534a9a59fa97061ec2855f79328b1dd45 Reviewed-on: https://gerrit.libreoffice.org/11478 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bean/com/sun/star/comp/beans')
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java3
1 files changed, 2 insertions, 1 deletions
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);
}