Kaydet (Commit) 06907141 authored tarafından Noel Grandin's avatar Noel Grandin

cid#1326116 Unchecked return value

Change-Id: If33ea9c4e4388cc1b7d15847f32dd2228b047363
üst bc492df7
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment