Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
cloudooo
Commits
b3770813
Commit
b3770813
authored
6 years ago
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openoffice: stop using deprecated open/libreoffice arguments
parent
cc32027b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
cloudooo/handler/ooo/application/openoffice.py
cloudooo/handler/ooo/application/openoffice.py
+9
-9
No files found.
cloudooo/handler/ooo/application/openoffice.py
View file @
b3770813
...
@@ -138,16 +138,16 @@ class OpenOffice(Application):
...
@@ -138,16 +138,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
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment