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

New commits:
commit 27cf65fb14e23f9afe1a45d7a3f1c8a997f07660
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Apr 20 15:44:18 2021 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Apr 27 21:51: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 <sberg...@redhat.com>
    (cherry picked from commit 177dcfec4e833f83f1f11c7bdbfc6f1977ebcee7)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114355
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/shell/source/unix/exec/shellexec.cxx 
b/shell/source/unix/exec/shellexec.cxx
index ad171d70888f..2a86d961e148 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -151,6 +151,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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to