summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java b/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java
index ce84b7409c1f..f6658d64806a 100644
--- a/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java
+++ b/android/Bootstrap/src/org/libreoffice/kit/LibreOfficeKit.java
@@ -67,19 +67,6 @@ public final class LibreOfficeKit
String cacheDir = activity.getApplication().getCacheDir().getAbsolutePath();
String apkFile = activity.getApplication().getPackageResourcePath();
- // If there is a fonts.conf file in the apk that can be extracted, automatically
- // set the FONTCONFIG_FILE env var.
- InputStream inputStream;
- try {
- inputStream = activity.getAssets().open("unpack/etc/fonts/fonts.conf");
- } catch (java.io.IOException exception) {
- inputStream = null;
- }
-
- if (inputStream != null) {
- putenv("FONTCONFIG_FILE=" + dataDir + "/etc/fonts/fonts.conf");
- }
-
if (!initializeNative(dataDir, cacheDir, apkFile, mgr)) {
Log.e(LOGTAG, "Initialize native failed!");
return;