diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-04-20 15:44:18 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-04-20 21:05:09 +0200 |
commit | 67fda2bf388ae4b942c9c5db10214870576612d6 (patch) | |
tree | e4c8b8b6c8bfdff41308bf6d241d18ce89fe8ba3 | |
parent | 824b8790f2632ee385eeac1eac84bd61070bb525 (diff) |
Better handling of filelocs
Change-Id: Ic9c06cb476942ceb7d0166f22103e2e88cc9c21f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114339
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 177dcfec4e833f83f1f11c7bdbfc6f1977ebcee7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114355
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 3ac5fad2e0af..4f305e454211 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; |