diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-08-30 14:04:52 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-09-11 16:44:25 +0200 |
commit | cdb3ad356d710bbfd12d790b9326bdc1b65fae3d (patch) | |
tree | f57a6a5b4e7e74c6f563d939a55fb68967fad7f9 | |
parent | Debian package names must not contain uppercase letters (diff) | |
download | core-cdb3ad356d710bbfd12d790b9326bdc1b65fae3d.tar.gz core-cdb3ad356d710bbfd12d790b9326bdc1b65fae3d.zip |
These commands are always URLs already
Change-Id: I5083765c879689d7f933bbe00ad70bb68e635a21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139042
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit e61701e1ee6763de72b397e6ade1124eca9400f3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138980
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | wizards/source/access2base/DoCmd.xba | 2 | ||||
-rw-r--r-- | wizards/source/scriptforge/SF_Session.xba | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/access2base/DoCmd.xba b/wizards/source/access2base/DoCmd.xba index 089486a872fa..20051553c47f 100644 --- a/wizards/source/access2base/DoCmd.xba +++ b/wizards/source/access2base/DoCmd.xba @@ -2655,7 +2655,7 @@ Private Sub _ShellExecute(sCommand As String) Dim oShell As Object Set oShell = createUnoService("com.sun.star.system.SystemShellExecute") - oShell.execute(sCommand, "" , com.sun.star.system.SystemShellExecuteFlags.DEFAULTS) + oShell.execute(sCommand, "" , com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY) End Sub ' _ShellExecute V0.8.5 diff --git a/wizards/source/scriptforge/SF_Session.xba b/wizards/source/scriptforge/SF_Session.xba index a41bffa51377..7c709897947a 100644 --- a/wizards/source/scriptforge/SF_Session.xba +++ b/wizards/source/scriptforge/SF_Session.xba @@ -513,7 +513,7 @@ Check: Try: Set oShell = SF_Utils._GetUNOService("SystemShellExecute") sCommand = SF_FileSystem._ConvertToUrl(Command) - oShell.execute(sCommand, Parameters, com.sun.star.system.SystemShellExecuteFlags.DEFAULTS) + oShell.execute(sCommand, Parameters, com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY) bReturn = True Finally: |