summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-02 19:15:14 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-02 19:15:14 +0000
commit73ccaa6300281514bb892d468aa421cc98467fb1 (patch)
tree1d97ee96841150257269023eb505ee6d1a75f621
parent20db24ab82430f82d51c0d48c366b9aab9827508 (diff)
INTEGRATION: CWS geordi2q14 (1.3.72); FILE MERGED
2004/01/30 13:11:58 hr 1.3.72.1: #111934#: merge CWS ooo111fix2
-rw-r--r--odk/examples/java/Text/TextReplace.java6
-rw-r--r--odk/examples/java/Text/WriterSelector.java8
2 files changed, 7 insertions, 7 deletions
diff --git a/odk/examples/java/Text/TextReplace.java b/odk/examples/java/Text/TextReplace.java
index 6903684c..c6844d16 100644
--- a/odk/examples/java/Text/TextReplace.java
+++ b/odk/examples/java/Text/TextReplace.java
@@ -2,9 +2,9 @@
*
* $RCSfile: TextReplace.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-06-30 16:00:49 $
+ * last change: $Author: hr $ $Date: 2004-02-02 20:14:54 $
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
@@ -74,7 +74,7 @@ public class TextReplace {
public static void main(String args[]) {
//the connection string to connect the office
- String sConnectionString = "uno:socket,host=localhost,port=8100;urp;StarOffice.NamingService";
+ String sConnectionString = "uno:socket,host=localhost,port=2083;urp;StarOffice.NamingService";
// It is possible to use a different connection string, passed as argument
if ( args.length == 1 ) {
diff --git a/odk/examples/java/Text/WriterSelector.java b/odk/examples/java/Text/WriterSelector.java
index 3150ccdb..fa152c33 100644
--- a/odk/examples/java/Text/WriterSelector.java
+++ b/odk/examples/java/Text/WriterSelector.java
@@ -2,9 +2,9 @@
*
* $RCSfile: WriterSelector.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-06-30 16:01:02 $
+ * last change: $Author: hr $ $Date: 2004-02-02 20:15:14 $
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
@@ -63,7 +63,7 @@ import com.sun.star.beans.XPropertySet;
/** This class gives you information on the selected objects (text range, text
* frame, or graphics) at an OpenOffice.org Server. The Office must be started in
* advance using the following command line option:
- * soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager"
+ * soffice "-accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager"
*/
public class WriterSelector {
/**
@@ -72,7 +72,7 @@ public class WriterSelector {
public static void main(String args[]) {
try {
//the connection string to connect the office
- String sConnectionString = "uno:socket,host=localhost,port=8100;urp;StarOffice.ServiceManager";
+ String sConnectionString = "uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager";
// It is possible to use a different connection string, passed as argument
if ( args.length == 1 ) {