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 /toolkit/test | |
parent | 8a3b584528e30f346cbab34141ee088eea16020c (diff) |
fix prefix of command line switches (-- instead of -)
Diffstat (limited to 'toolkit/test')
-rwxr-xr-x | toolkit/test/accessibility/OfficeConnection.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/test/accessibility/OfficeConnection.java b/toolkit/test/accessibility/OfficeConnection.java index 4cc5bee1ed78..9f2f3f531e9d 100755 --- a/toolkit/test/accessibility/OfficeConnection.java +++ b/toolkit/test/accessibility/OfficeConnection.java @@ -14,7 +14,7 @@ import com.sun.star.uno.XInterface; import com.sun.star.uno.RuntimeException; -/** @descr This class establishes a connection to a StarOffice application. +/** @descr This class establishes a connection to a LibreOffice application. */ public class OfficeConnection { @@ -25,7 +25,7 @@ public class OfficeConnection } /** @descr Return the service manager that represents the connected - StarOffice application + LibreOffice application */ public XMultiServiceFactory getServiceManager () { @@ -42,7 +42,7 @@ public class OfficeConnection return getServiceManager() != null; } - /** @descr Connect to a already running StarOffice application. + /** @descr Connect to an already running LibreOffice application. */ private void connect () { @@ -54,10 +54,10 @@ public class OfficeConnection connect (hostname, mnDefaultPort); } - /** @descr Connect to a already running StarOffice application that has + /** @descr Connect to a already running LibreOffice application that has been started with a command line argument like - "-accept=socket,host=localhost,port=5678;urp;" - */ + "--accept=socket,host=localhost,port=5678;urp;" + */ private void connect (String hostname, int portnumber) { mbInitialized = true; @@ -86,8 +86,8 @@ public class OfficeConnection catch (Exception e) { MessageArea.println ("Could not connect with " + sConnectString + " : " + e); - MessageArea.println ("Please start OpenOffice/StarOffice with " - + "\"-accept=socket,host=localhost,port=5678;urp;\""); + MessageArea.println ("Please start LibreOffice with " + + "\"--accept=socket,host=localhost,port=5678;urp;\""); } } |