diff options
Diffstat (limited to 'scripting')
-rwxr-xr-x | scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java | 2 | ||||
-rw-r--r-- | scripting/source/pyprov/msgbox.py | 4 | ||||
-rwxr-xr-x | scripting/source/pyprov/officehelper.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java index fa42a7be1f1b..d3d7045a79de 100755 --- a/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java +++ b/scripting/java/org/openoffice/idesupport/localoffice/LocalOfficeImpl.java @@ -126,7 +126,7 @@ System.out.println("*** LocalOfficeImpl.refreshStorage: DONE"); * Boot straps UNO. * * The office has to be started with following string: - * "-accept=socket,host=localhost,port=<PORT>;urp;StarOffice.ServiceManager" + * "--accept=socket,host=localhost,port=<PORT>;urp;StarOffice.ServiceManager" * * @param port is a communication port. */ diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py index b276d76ad739..c5c57f2e8ef6 100644 --- a/scripting/source/pyprov/msgbox.py +++ b/scripting/source/pyprov/msgbox.py @@ -240,8 +240,8 @@ if __name__ == '__main__': "com.sun.star.bridge.UnoUrlResolver", localContext ) # connect to the running office - # OOo has to be launched in listen mode as - # ./soffice "-accept=socket,host=localhost,port=2002;urp;" + # LibO has to be launched in listen mode as + # ./soffice "--accept=socket,host=localhost,port=2002;urp;" ctx = resolver.resolve( "uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" ) myBox = MsgBox(ctx) myBox.addButton("Yes") diff --git a/scripting/source/pyprov/officehelper.py b/scripting/source/pyprov/officehelper.py index 610ac5f9dbe7..84b7cce955a2 100755 --- a/scripting/source/pyprov/officehelper.py +++ b/scripting/source/pyprov/officehelper.py @@ -62,8 +62,8 @@ def bootstrap(): random.seed() sPipeName = "uno" + str(random.random())[2:] - # Start the office proces, don't check for exit status since an exception is caught anyway if the office terminates unexpectedly. - cmdArray = (sOffice, "-nologo", "-nodefault", "".join(["-accept=pipe,name=", sPipeName, ";urp;"])) + # Start the office process, don't check for exit status since an exception is caught anyway if the office terminates unexpectedly. + cmdArray = (sOffice, "--nologo", "--nodefault", "".join(["--accept=pipe,name=", sPipeName, ";urp;"])) os.spawnv(os.P_NOWAIT, sOffice, cmdArray) # --------- |