diff options
author | Andras Timar <atimar@suse.com> | 2012-01-11 19:21:33 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-01-11 19:25:45 +0100 |
commit | aab14cb9fbc7d82b804a89e4cc61fb874c8636c8 (patch) | |
tree | 06076784fd47291174d9d51811da496191ae5cf4 /bean/com/sun/star/beans | |
parent | 8a3b584528e30f346cbab34141ee088eea16020c (diff) |
fix prefix of command line switches (-- instead of -)
Diffstat (limited to 'bean/com/sun/star/beans')
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeConnection.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeConnection.java b/bean/com/sun/star/beans/LocalOfficeConnection.java index fc098c381a15..443941cc431d 100644 --- a/bean/com/sun/star/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/beans/LocalOfficeConnection.java @@ -588,13 +588,13 @@ public class LocalOfficeConnection // create call with arguments String[] cmdArray = new String[4]; cmdArray[0] = (new File(getProgramPath(), OFFICE_APP_NAME)).getPath(); - cmdArray[1] = "-nologo"; - cmdArray[2] = "-nodefault"; + cmdArray[1] = "--nologo"; + cmdArray[2] = "--nodefault"; if ( mConnType.equals( "pipe" ) ) - cmdArray[3] = "-accept=pipe,name=" + getIdentifier() + ";" + + cmdArray[3] = "--accept=pipe,name=" + getIdentifier() + ";" + mProtocol + ";" + mInitialObject; else if ( mConnType.equals( "socket" ) ) - cmdArray[3] = "-accept=socket,port=" + mPort + ";urp"; + cmdArray[3] = "--accept=socket,port=" + mPort + ";urp"; else throw new java.io.IOException( "not connection specified" ); |