diff options
Diffstat (limited to 'javaunohelper/com/sun/star')
-rw-r--r-- | javaunohelper/com/sun/star/lib/uno/adapter/InputStreamToXInputStreamAdapter.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/adapter/InputStreamToXInputStreamAdapter.java b/javaunohelper/com/sun/star/lib/uno/adapter/InputStreamToXInputStreamAdapter.java index 318a716fc86f..4999463247e4 100644 --- a/javaunohelper/com/sun/star/lib/uno/adapter/InputStreamToXInputStreamAdapter.java +++ b/javaunohelper/com/sun/star/lib/uno/adapter/InputStreamToXInputStreamAdapter.java @@ -125,12 +125,11 @@ public class InputStreamToXInputStreamAdapter implements XInputStream { public void skipBytes(int n) throws com.sun.star.io.IOException { - int avail; int tmpLongVal = n; int tmpIntVal; try { - avail = iIn.available(); + iIn.available(); } catch (IOException e) { throw new com.sun.star.io.IOException(e.toString()); } |