Commit a86e7d5c authored by Nicolas Delaby's avatar Nicolas Delaby

cosmetic

parent 115e6f1b
...@@ -17,7 +17,7 @@ def getServiceManager(host, port, uno_path, office_binary_path): ...@@ -17,7 +17,7 @@ def getServiceManager(host, port, uno_path, office_binary_path):
# Create the UnoUrlResolver on the Python side. # Create the UnoUrlResolver on the Python side.
url_resolver = "com.sun.star.bridge.UnoUrlResolver" url_resolver = "com.sun.star.bridge.UnoUrlResolver"
resolver = uno_context.ServiceManager.createInstanceWithContext(url_resolver, resolver = uno_context.ServiceManager.createInstanceWithContext(url_resolver,
uno_context) uno_context)
# Connect to the running OpenOffice.org and get its # Connect to the running OpenOffice.org and get its
# context. # context.
uno_connection = resolver.resolve("uno:socket,host=%s,port=%s;urp;StarOffice.ComponentContext" % (host, port)) uno_connection = resolver.resolve("uno:socket,host=%s,port=%s;urp;StarOffice.ComponentContext" % (host, port))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment