diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_remotebridge/various.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_remotebridge/various.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/qadevOOo/tests/java/mod/_remotebridge/various.java b/qadevOOo/tests/java/mod/_remotebridge/various.java index a00f98f16582..2dc605fb03c6 100644 --- a/qadevOOo/tests/java/mod/_remotebridge/various.java +++ b/qadevOOo/tests/java/mod/_remotebridge/various.java @@ -120,16 +120,7 @@ public class various extends TestCase { * return value. */ private class AcceptorThread extends Thread { - /** - * If exception occurred during method call it is - * stored in this field. - */ - private Exception ex = null ; private final XAcceptor acc; - /** - * If method call returns some value it stores in this field. - */ - private XConnection acceptedCall = null ; /** * Creates object which can call <code>accept</code> method @@ -146,11 +137,9 @@ public class various extends TestCase { @Override public void run() { try { - acceptedCall = acc.accept(connectString) ; + acc.accept(connectString) ; } catch (com.sun.star.connection.ConnectionSetupException e) { - ex = e ; } catch (com.sun.star.connection.AlreadyAcceptingException e) { - ex = e ; } } } |