[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - android/experimental

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Wed Jan 21 20:24:22 PST 2015


 android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24c6a473f923f9d3fe24c81d8887ea30e4f85edd
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Thu Jan 22 13:23:10 2015 +0900

    android: Fix loading files that have space in the filename
    
    Change-Id: Icf540bf199b3daf79e4eca9b0a403978b6cae18c

diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
index 48c46ff..1b20328 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
@@ -96,7 +96,7 @@ public class LibreOfficeMainActivity extends LOAbout {
         LayoutInflater.from(this).setFactory(ViewFactory.getInstance());
 
         if (getIntent().getData() != null) {
-            mInputFile = getIntent().getData().getEncodedPath();
+            mInputFile = getIntent().getData().getPath();
         } else {
             mInputFile = DEFAULT_DOC_PATH;
         }


More information about the Libreoffice-commits mailing list