diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-09-06 10:55:16 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-09-06 14:12:27 +0200 |
commit | 77902a3cb2ab3af542e62253cc9f4dc12e099293 (patch) | |
tree | f2270b9d8da54ae53b9c99da6d82ecd7c755f837 /android/source/src/java | |
parent | Resolves tdf#125130 - UI: Show 'Go to first/last page' in new print dialog (diff) | |
download | core-77902a3cb2ab3af542e62253cc9f4dc12e099293.tar.gz core-77902a3cb2ab3af542e62253cc9f4dc12e099293.zip |
Fixing '....'
Change-Id: Icf2a34500acc18b28f113c85366bf24edc6d20b9
Reviewed-on: https://gerrit.libreoffice.org/78695
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'android/source/src/java')
-rw-r--r-- | android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java index 063c75bf2158..032a8461a01b 100644 --- a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java +++ b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java @@ -309,7 +309,7 @@ public class LibreOfficeMainActivity extends AppCompatActivity implements Settin outputChannel = new FileOutputStream(mTempFile).getChannel(); long bytesTransferred = 0; - // might not copy all at once, so make sure everything gets copied.... + // might not copy all at once, so make sure everything gets copied... while (bytesTransferred < inputChannel.size()) { bytesTransferred += outputChannel.transferFrom(inputChannel, bytesTransferred, inputChannel.size()); } @@ -898,7 +898,7 @@ public class LibreOfficeMainActivity extends AppCompatActivity implements Settin source = Channels.newChannel(assetManager.open(fromAssetPath)); dest = new FileOutputStream(toPath).getChannel(); long bytesTransferred = 0; - // might not copy all at once, so make sure everything gets copied.... + // might not copy all at once, so make sure everything gets copied... ByteBuffer buffer = ByteBuffer.allocate(4096); while (source.read(buffer) > 0) { buffer.flip(); |