Skip to content

Commit

Permalink
These commands are always URLs already
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit 5b4025b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138986
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Caolán McNamara <caolanm@redhat.com>
  • Loading branch information
stbergmann authored and Caolán McNamara committed Sep 1, 2022
1 parent 93c5673 commit 71abb62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wizards/source/access2base/DoCmd.xba
Expand Up @@ -2655,7 +2655,7 @@ Private Sub _ShellExecute(sCommand As String)

Dim oShell As Object
Set oShell = createUnoService(&quot;com.sun.star.system.SystemShellExecute&quot;)
oShell.execute(sCommand, &quot;&quot; , com.sun.star.system.SystemShellExecuteFlags.DEFAULTS)
oShell.execute(sCommand, &quot;&quot; , com.sun.star.system.SystemShellExecuteFlags.URIS_ONLY)

End Sub &apos; _ShellExecute V0.8.5

Expand Down
2 changes: 1 addition & 1 deletion wizards/source/scriptforge/SF_Session.xba
Expand Up @@ -587,7 +587,7 @@ Check:
Try:
Set oShell = SF_Utils._GetUNOService(&quot;SystemShellExecute&quot;)
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:
Expand Down

0 comments on commit 71abb62

Please sign in to comment.