diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:10:18 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:10:18 +0000 |
commit | e5ae0aa4b42f67f295e111003f32e97bb134b9cd (patch) | |
tree | fa54be7b5a4d57ad5667ce73796a49b8c87b5ef3 /bridges/test | |
parent | 54f480ac1c7e156199b7f80f034558d60173b188 (diff) |
INTEGRATION: CWS sb79 (1.6.136); FILE MERGED
2007/09/27 12:01:06 sb 1.6.136.1: #i51323# refactored
Diffstat (limited to 'bridges/test')
-rw-r--r-- | bridges/test/java_uno/any/TestRemote.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bridges/test/java_uno/any/TestRemote.java b/bridges/test/java_uno/any/TestRemote.java index 1deff38b5cbc..b18e2f3e1cac 100644 --- a/bridges/test/java_uno/any/TestRemote.java +++ b/bridges/test/java_uno/any/TestRemote.java @@ -4,9 +4,9 @@ * * $RCSfile: TestRemote.java,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-07 22:58:55 $ + * last change: $Author: ihi $ $Date: 2007-11-23 13:10:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -35,10 +35,10 @@ package test.java_uno.anytest; -import com.sun.star.bridge.XBridge; import com.sun.star.bridge.XInstanceProvider; import com.sun.star.lib.TestBed; import com.sun.star.uno.UnoRuntime; +import com.sun.star.uno.XComponentContext; public final class TestRemote { public static void main(String[] args) throws Exception { @@ -53,9 +53,9 @@ public final class TestRemote { new Client().execute(); } - protected boolean run(XBridge bridge) throws Throwable { + protected boolean run(XComponentContext context) throws Throwable { XTransport transport = (XTransport) UnoRuntime.queryInterface( - XTransport.class, bridge.getInstance("Transport")); + XTransport.class, getBridge(context).getInstance("Transport")); return TestAny.test(transport, true); } } |