summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_streams/uno/Pump.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_streams/uno/Pump.java')
-rw-r--r--qadevOOo/tests/java/mod/_streams/uno/Pump.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_streams/uno/Pump.java b/qadevOOo/tests/java/mod/_streams/uno/Pump.java
index f953e557901c..de5eb1152dc4 100644
--- a/qadevOOo/tests/java/mod/_streams/uno/Pump.java
+++ b/qadevOOo/tests/java/mod/_streams/uno/Pump.java
@@ -83,10 +83,8 @@ public class Pump extends TestCase {
XInterface oObj = (XInterface) oInterface;
// setting up input and output streams for pump
- XActiveDataSink xSink = (XActiveDataSink)
- UnoRuntime.queryInterface(XActiveDataSink.class, oObj);
- XActiveDataSource xSource = (XActiveDataSource)
- UnoRuntime.queryInterface(XActiveDataSource.class, oObj);
+ XActiveDataSink xSink = UnoRuntime.queryInterface(XActiveDataSink.class, oObj);
+ XActiveDataSource xSource = UnoRuntime.queryInterface(XActiveDataSource.class, oObj);
XInputStream xInput = new MyInput();
XOutputStream xOutput = new MyOutput();