diff options
Diffstat (limited to 'editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx')
-rw-r--r-- | editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx b/editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx index a52189df87db..3c8a62b6a069 100644 --- a/editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx +++ b/editors/libreoffice/files/patch-shell_source_unix_exec_shellexec.cxx @@ -1,11 +1,11 @@ ---- shell/source/unix/exec/shellexec.cxx.orig 2017-01-12 00:54:33 UTC -+++ shell/source/unix/exec/shellexec.cxx -@@ -157,7 +157,7 @@ void SAL_CALL ShellExec::execute( const - if (std::getenv("LIBO_FLATPAK") != nullptr) { - aBuffer.append("/app/bin/xdg-open"); - } else { -- aBuffer.append("/usr/bin/xdg-open"); -+ aBuffer.append("%%LOCALBASE%%/bin/xdg-open"); - } +--- shell/source/unix/exec/shellexec.cxx.orig 2017-12-08 02:26:19.000000000 +0300 ++++ shell/source/unix/exec/shellexec.cxx 2017-12-12 15:51:21.551684000 +0300 +@@ -145,7 +145,7 @@ + aBuffer.append("open --"); + #else + // Just use xdg-open on non-Mac +- aBuffer.append("/usr/bin/xdg-open"); ++ aBuffer.append("%%LOCALBASE%%/bin/xdg-open"); #endif aBuffer.append(" "); + escapeForShell(aBuffer, OUStringToOString(aURL, osl_getThreadTextEncoding())); |