wizards/source/access2base/DoCmd.xba      |    2 +-
 wizards/source/scriptforge/SF_Session.xba |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1d995d23c3229e7e1cec29eabc5d76d7e6606f8e
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Aug 30 14:04:52 2022 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Wed Sep 7 13:13:46 2022 +0200

    These commands are always URLs already
    
    Change-Id: I5083765c879689d7f933bbe00ad70bb68e635a21
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139042
    Tested-by: Jean-Pierre Ledure <j...@ledure.be>
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>
    (cherry picked from commit e61701e1ee6763de72b397e6ade1124eca9400f3)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138980
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 5b4025bb56999f5c895c6f7e0b52f521800d65b0)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139505
    Tested-by: Andras Timar <andras.ti...@collabora.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

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(&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 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(&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:

Reply via email to