cid#1326116 Unchecked return value
Change-Id: If33ea9c4e4388cc1b7d15847f32dd2228b047363
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user