From aab14cb9fbc7d82b804a89e4cc61fb874c8636c8 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 11 Jan 2012 19:21:33 +0100 Subject: fix prefix of command line switches (-- instead of -) --- toolkit/qa/complex/toolkit/UnitConversion.java | 2 +- toolkit/test/accessibility/OfficeConnection.java | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'toolkit') diff --git a/toolkit/qa/complex/toolkit/UnitConversion.java b/toolkit/qa/complex/toolkit/UnitConversion.java index ef100a7f81ad..ea93f31cada3 100644 --- a/toolkit/qa/complex/toolkit/UnitConversion.java +++ b/toolkit/qa/complex/toolkit/UnitConversion.java @@ -92,7 +92,7 @@ public class UnitConversion /** * The real test function * 1. try to get the XMultiServiceFactory of an already running office. Therefore make sure an (open|star)office is running with - * parameters like -accept="socket,host=localhost,port=8100;urp;" + * parameters like --accept="socket,host=localhost,port=8100;urp;" * 2. try to create an empty window * 3. try to convert the WindowPeer to an XWindow * 4. try to resize and move the window to an other position, so we get a well knowing position and size. 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;\""); } } -- cgit