[Libreoffice-commits] core.git: Branch 'libreoffice-7-1-3' - shell/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 23 23:11:18 UTC 2021


 shell/source/unix/exec/shellexec.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0a75c1d7bdb0723f2fb89a99385c22321a140544
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Apr 20 15:44:18 2021 +0200
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Sat Apr 24 01:10:33 2021 +0200

    Better handling of filelocs
    
    Change-Id: Ic9c06cb476942ceb7d0166f22103e2e88cc9c21f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114339
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    (cherry picked from commit 177dcfec4e833f83f1f11c7bdbfc6f1977ebcee7)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114357
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index bbd614a66355..9ec32a35f630 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -137,6 +137,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
                 throw css::lang::IllegalArgumentException(
                     "XSystemShellExecute.execute, cannot process <" + aCommand + ">", {}, 0);
             } else if (pathname.endsWithIgnoreAsciiCase(".class")
+                       || pathname.endsWithIgnoreAsciiCase(".fileloc")
                        || pathname.endsWithIgnoreAsciiCase(".jar"))
             {
                 dir = true;


More information about the Libreoffice-commits mailing list