summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorLars Langhans <lla@openoffice.org>2010-02-09 11:20:59 +0100
committerLars Langhans <lla@openoffice.org>2010-02-09 11:20:59 +0100
commitbd4413269e834142c200ea1a51f27e5dab390b35 (patch)
tree46e7138497c4fc8eccaacaeaee9fec72158dc547 /qadevOOo
parent89b08af633c1c45965ad16418e5d238e045c4f00 (diff)
qadev40: #161119# catch IllegalArgumentException
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/io/_XOutputStream.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/io/_XOutputStream.java b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
index 1e7d32562e6d..5566c6da21a6 100644
--- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
@@ -96,9 +96,8 @@ public class _XOutputStream extends MultiMethodTest {
XInputStream xInStream = checker.getInStream();
byte[][] readData = new byte[1][data.length];
- int iReadBytes = 0;
try {
- iReadBytes = xInStream.readBytes(readData, data.length);
+ xInStream.readBytes(readData, data.length);
} catch(com.sun.star.io.IOException e) {
log.println("Couldn't read data:" + e);
res = false;