Commit fe459a42 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

support OpenOffice.org 3.4 by using -opt instead of --opt.

parent 6629837c
...@@ -137,16 +137,16 @@ class OpenOffice(Application): ...@@ -137,16 +137,16 @@ class OpenOffice(Application):
removeDirectory(self.path_user_installation) removeDirectory(self.path_user_installation)
# Create command with all parameters to start the instance # Create command with all parameters to start the instance
self.command = [join(self.office_binary_path, self._bin_soffice), self.command = [join(self.office_binary_path, self._bin_soffice),
'--headless', '-headless',
'--invisible', '-invisible',
'-nocrashreport', '-nocrashreport',
'--nologo', '-nologo',
'--nodefault', '-nodefault',
'--norestore', '-norestore',
'--nofirststartwizard', '-nofirststartwizard',
'--accept=socket,host=%s,port=%d;urp;' % (self.hostname, self.port), '-accept=socket,host=%s,port=%d;urp;' % (self.hostname, self.port),
'-env:UserInstallation=file://%s' % self.path_user_installation, '-env:UserInstallation=file://%s' % self.path_user_installation,
'--language=%s' % self.default_language, '-language=%s' % self.default_language,
] ]
# To run soffice.bin, several environment variables should be set. # To run soffice.bin, several environment variables should be set.
env = self.environment_dict.copy() env = self.environment_dict.copy()
......
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