[Libreoffice-commits] core.git: android/source

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Wed Apr 5 14:50:55 UTC 2017


 android/source/src/java/org/libreoffice/storage/external/OTGDocumentsProvider.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2e8868493efb480c54894bcf7850de22fd885f7e
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Wed Apr 5 16:24:38 2017 +0200

    android: otg_missing_error is not a format string
    
    Change-Id: I8d06218b595f619c12d0402f8d8319a35a37daa1

diff --git a/android/source/src/java/org/libreoffice/storage/external/OTGDocumentsProvider.java b/android/source/src/java/org/libreoffice/storage/external/OTGDocumentsProvider.java
index 0f9ee30ea28b..d4ce3492c1ea 100644
--- a/android/source/src/java/org/libreoffice/storage/external/OTGDocumentsProvider.java
+++ b/android/source/src/java/org/libreoffice/storage/external/OTGDocumentsProvider.java
@@ -63,7 +63,7 @@ public class OTGDocumentsProvider implements IExternalDocumentProvider,
         File f = IOUtils.getFileFromURIString(rootPathURI);
         if(IOUtils.isInvalidFile(f)) {
             //missing device
-            throw new RuntimeException(context.getString(R.string.otg_missing_error, context));
+            throw new RuntimeException(context.getString(R.string.otg_missing_error));
         }
 
         return new LocalFile(f);


More information about the Libreoffice-commits mailing list