[Libreoffice-commits] core.git: Branch 'distro/collabora/viewer' - android/experimental

Jan Holesovsky kendy at collabora.com
Tue Feb 3 02:45:41 PST 2015


 android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dd6aea81dc9f9ca067c361c593ba5019339c0e5e
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue Feb 3 11:44:54 2015 +0100

    android: Always log the SAL_WARN's.
    
    Change-Id: Iab470097cc09835efd5ab3c13a0defb267c985a0

diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
index a6d8d79..3760891 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
@@ -43,7 +43,7 @@ public class LOKitTileProvider implements TileProvider, Document.MessageCallback
         mTileWidth = pixelToTwip(TILE_SIZE, mDPI);
         mTileHeight = pixelToTwip(TILE_SIZE, mDPI);
 
-        LibreOfficeKit.putenv("SAL_LOG=-WARN+INFO.lok");
+        LibreOfficeKit.putenv("SAL_LOG=+WARN+INFO.lok");
         LibreOfficeKit.init(LibreOfficeMainActivity.mAppContext);
 
         mOffice = new Office(LibreOfficeKit.getLibreOfficeKitHandle());
@@ -63,7 +63,7 @@ public class LOKitTileProvider implements TileProvider, Document.MessageCallback
             mOffice = new Office(handle);
             Log.i(LOGTAG, "====> new Office created");
             mDocument = mOffice.documentLoad(input);
-            LibreOfficeKit.putenv("SAL_LOG=-WARN+INFO.lok");
+            LibreOfficeKit.putenv("SAL_LOG=+WARN+INFO.lok");
         }
 
         Log.i(LOGTAG, "====> mDocument = " + mDocument);


More information about the Libreoffice-commits mailing list