INTEGRATION: CWS geordi2q14 (1.3.72); FILE MERGED
2004/01/30 13:11:20 hr 1.3.72.1: #111934#: merge CWS ooo111fix2
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: PresentationDemo.java,v $
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
* last change: $Author: hr $ $Date: 2003-06-30 15:25:07 $
|
||||
* last change: $Author: hr $ $Date: 2004-02-02 19:56:29 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* the BSD license.
|
||||
@@ -70,7 +70,7 @@ import com.sun.star.awt.*;
|
||||
// This demo will demonstrate how to create a presentation using the Office API
|
||||
|
||||
// The first parameter describes the connection that is to use. If there is no parameter
|
||||
// "uno:socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" is used.
|
||||
// "uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager" is used.
|
||||
|
||||
|
||||
public class PresentationDemo
|
||||
@@ -84,7 +84,7 @@ public class PresentationDemo
|
||||
if ( args.length >= 1 )
|
||||
sConnection = args[ 1 ];
|
||||
else
|
||||
sConnection = "uno:socket,host=localhost,port=8100;urp;StarOffice.ServiceManager";
|
||||
sConnection = "uno:socket,host=localhost,port=2083;urp;StarOffice.ServiceManager";
|
||||
XMultiServiceFactory xServiceFactory =
|
||||
Helper.connect( sConnection );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user