From: Debian LibreOffice Maintainers Date: Mon, 23 Jul 2018 18:54:04 +0000 (+0100) Subject: jurt-soffice-location X-Git-Tag: archive/raspbian/1%6.1.0_rc2-3+rpi1~1^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5c9f04e725b49f6b9d33ff7e6e03f19c6020a053;p=libreoffice.git jurt-soffice-location commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408 Author: Bjoern Michaelsen AuthorDate: Tue Jun 7 11:52:37 2011 +0200 Commit: Bjoern Michaelsen CommitDate: Tue Jun 7 11:52:37 2011 +0200 on debian-based systems, we know where our soffice binary is Gbp-Pq: Name jurt-soffice-location.diff --- diff --git a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java b/jurt/com/sun/star/lib/util/NativeLibraryLoader.java index ab1eabb9cb6..31b30f1f0c9 100644 --- a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java +++ b/jurt/com/sun/star/lib/util/NativeLibraryLoader.java @@ -123,6 +123,8 @@ public final class NativeLibraryLoader { } } } + if (name.equals("soffice")) + return new File("/usr/lib/libreoffice/program/soffice"); return null; }