summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-20 15:44:18 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-04-24 01:10:33 +0200
commit0a75c1d7bdb0723f2fb89a99385c22321a140544 (patch)
treee4606c609b367924b8ad8752f5ba9b297163c6fb
parentfix too wide glyphs with Skia/GDI if horizontal scale is used (tdf#141715) (diff)
downloadcore-0a75c1d7bdb0723f2fb89a99385c22321a140544.tar.gz
core-0a75c1d7bdb0723f2fb89a99385c22321a140544.zip
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/+/114357 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--shell/source/unix/exec/shellexec.cxx1
1 files changed, 1 insertions, 0 deletions
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;