summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-09 11:04:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-09 12:05:38 +0000
commitc23bed10cdb86a23aa70d1ea0484fe5bab639ea4 (patch)
tree289dc1596d7b6839bc2b96ace9ae2a7c1610c3d8 /javaunohelper
parent476f75802a538fb3576cdac996fca6c348913d6f (diff)
fix indexes
Change-Id: I99d3a715cce203eb2303c76da3b20e6d853a9d23
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/comp/helper/Bootstrap.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/javaunohelper/com/sun/star/comp/helper/Bootstrap.java b/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
index f0145c613901..6e677e66ddae 100644
--- a/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
+++ b/javaunohelper/com/sun/star/comp/helper/Bootstrap.java
@@ -270,13 +270,13 @@ public class Bootstrap {
Long.toString( (new Random()).nextLong() & 0x7fffffffffffffffL );
// create call with arguments
- String[] cmdArray = new String[7];
+ String[] cmdArray = new String[6];
cmdArray[0] = fOffice.getPath();
cmdArray[1] = "--nologo";
cmdArray[2] = "--nodefault";
cmdArray[3] = "--norestore";
- cmdArray[5] = "--nolockcheck";
- cmdArray[6] = "--accept=pipe,name=" + sPipeName + ";urp;";
+ cmdArray[4] = "--nolockcheck";
+ cmdArray[5] = "--accept=pipe,name=" + sPipeName + ";urp;";
// start office process
Process p = Runtime.getRuntime().exec( cmdArray );