summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-08-30 14:04:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-08-30 17:23:52 +0200
commiteddd37280aa69da82cde91c9b9cc8139c6ec8cdc (patch)
tree19fedfe77cc1d90529caf99908e8ae85b459df4b /wizards
parentb0c5274497f252c6a41904d6249191d910c3f199 (diff)
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>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/access2base/DoCmd.xba2
-rw-r--r--wizards/source/scriptforge/SF_Session.xba2
2 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/access2base/DoCmd.xba b/wizards/source/access2base/DoCmd.xba
index 12c62714d775..ded67fe59674 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(&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
diff --git a/wizards/source/scriptforge/SF_Session.xba b/wizards/source/scriptforge/SF_Session.xba
index d65512823406..b4292f36ea83 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(&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: