diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-07-23 13:46:58 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-07-23 13:46:58 +0000 |
commit | 477e0131493169e1c01ec87b349d25a864282aab (patch) | |
tree | a539ec53a8a740dd1e825b405a8a6bb656f95899 /testtools/com/sun/star | |
parent | 894c0fa0e9d0e51ebfbf9bd25f39054bbaec96ec (diff) |
INTEGRATION: CWS sb20 (1.1.70); FILE MERGED
2004/07/09 13:45:54 sb 1.1.70.1: #i29741# Retrofitted existing services as single-interface--based ones.
Diffstat (limited to 'testtools/com/sun/star')
-rw-r--r-- | testtools/com/sun/star/comp/bridge/TestComponentMain.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/testtools/com/sun/star/comp/bridge/TestComponentMain.java b/testtools/com/sun/star/comp/bridge/TestComponentMain.java index c768d7f84261..3bffa00e88b4 100644 --- a/testtools/com/sun/star/comp/bridge/TestComponentMain.java +++ b/testtools/com/sun/star/comp/bridge/TestComponentMain.java @@ -2,9 +2,9 @@ * * $RCSfile: TestComponentMain.java,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: jbu $ $Date: 2002-09-17 15:10:27 $ + * last change: $Author: rt $ $Date: 2004-07-23 14:46:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,6 +70,7 @@ import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.container.XSet; import com.sun.star.loader.XImplementationLoader; +import com.sun.star.connection.Acceptor; import com.sun.star.connection.XAcceptor; import com.sun.star.connection.XConnection; @@ -140,9 +141,7 @@ public class TestComponentMain "com.sun.star.comp.bridge.TestComponent$_TestObject", oldsmgr,null ); set.insert(o); - XAcceptor xAcceptor = (XAcceptor)UnoRuntime.queryInterface( - XAcceptor.class, - smgr.createInstanceWithContext("com.sun.star.connection.Acceptor",ctx)); + XAcceptor xAcceptor = Acceptor.create(ctx); System.err.println("waiting for connect..."); |