summaryrefslogtreecommitdiff
path: root/bridges/test
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-23 12:10:38 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-23 12:10:38 +0000
commit48734a4d149b9bd199c0e44d777908b593769623 (patch)
treef4d7fcb29309374dcfeda68ac7c475ad74fd457f /bridges/test
parente5ae0aa4b42f67f295e111003f32e97bb134b9cd (diff)
INTEGRATION: CWS sb79 (1.7.136); FILE MERGED
2007/09/27 12:01:06 sb 1.7.136.1: #i51323# refactored
Diffstat (limited to 'bridges/test')
-rw-r--r--bridges/test/java_uno/equals/TestEquals.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/bridges/test/java_uno/equals/TestEquals.java b/bridges/test/java_uno/equals/TestEquals.java
index ab86360bd132..0e1be20e21f9 100644
--- a/bridges/test/java_uno/equals/TestEquals.java
+++ b/bridges/test/java_uno/equals/TestEquals.java
@@ -4,9 +4,9 @@
*
* $RCSfile: TestEquals.java,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 22:59:51 $
+ * last change: $Author: ihi $ $Date: 2007-11-23 13:10:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -95,11 +95,9 @@ public final class TestEquals {
new Client().execute();
}
- protected boolean run(XBridge bridge) throws Throwable {
+ protected boolean run(XComponentContext context) throws Throwable {
XTestFrame f = (XTestFrame) UnoRuntime.queryInterface(
- XTestFrame.class, bridge.getInstance("TestFrame"));
- XComponentContext context
- = Bootstrap.createInitialComponentContext(null);
+ XTestFrame.class, getBridge(context).getInstance("TestFrame"));
XAcceptor acceptor = Acceptor.create(context);
XBridgeFactory factory = (XBridgeFactory) UnoRuntime.queryInterface(
XBridgeFactory.class,