cid#1326116 Unchecked return value

Change-Id: If33ea9c4e4388cc1b7d15847f32dd2228b047363
This commit is contained in:
Noel Grandin
2015-10-15 09:29:29 +02:00
parent bc492df713
commit 06907141b9

View File

@@ -75,7 +75,9 @@ public class XInputStreamImpl implements XInputStream {
com.sun.star.io.BufferSizeExceededException, com.sun.star.io.IOException {
try {
is.skip(nBytesToSkip);
do {
nBytesToSkip -= is.skip(nBytesToSkip);
} while (nBytesToSkip > 0);
} catch (IOException e) {
throw new com.sun.star.io.IOException(e);
}