diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2024-03-21 15:54:55 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2024-03-22 15:06:05 +0100 |
commit | 2b168309d077e0685fe0d90d2f84981845153f7c (patch) | |
tree | 9a65f4492bb016c673f6545a92e07ba65d58725d | |
parent | Revert "tdf#159730 add compatibility option in RTF import" (diff) | |
download | core-2b168309d077e0685fe0d90d2f84981845153f7c.tar.gz core-2b168309d077e0685fe0d90d2f84981845153f7c.zip |
ScriptForge (session).RunApplication() crash fix tdf#160222
Use
com.sun.star.system.SystemShellExecuteFlags.DEFAULTS
i.o.
com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY
as argument of
com.sun.star.system.SystemShellExecute.execute()
Change-Id: I3919777cf9442387aec6ed694a2883519e4a7910
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165105
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
(cherry picked from commit ec2d0fceedec8aa775940d496eb86c40f958a10c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165127
(cherry picked from commit c826976b634596e476515a678ce415d9d16830c6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165128
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
-rw-r--r-- | wizards/source/scriptforge/SF_Session.xba | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/source/scriptforge/SF_Session.xba b/wizards/source/scriptforge/SF_Session.xba index 2bde313194b1..6cd2dd714d2e 100644 --- a/wizards/source/scriptforge/SF_Session.xba +++ b/wizards/source/scriptforge/SF_Session.xba @@ -587,7 +587,7 @@ Check: Try: Set oShell = SF_Utils._GetUNOService("SystemShellExecute") sCommand = SF_FileSystem._ConvertToUrl(Command) - oShell.execute(sCommand, Parameters, com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY) + oShell.execute(sCommand, Parameters, com.sun.star.system.SystemShellExecuteFlags.DEFAULTS) bReturn = True Finally: |