From: Debian LibreOffice Maintainers Date: Wed, 18 Apr 2018 15:17:55 +0000 (+0100) Subject: jurt-soffice-location X-Git-Tag: archive/raspbian/1%5.2.7-1+rpi1+deb9u4^2~31 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6863f00826b2ed6538707bd489fd65cf29eec751;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; }