Kaydet (Commit) 76daa181 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS qadev6 (1.1.8); FILE MERGED

2003/05/21 10:56:31 sg 1.1.8.1: #109819# prepare devide of runner
üst c054f3a4
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: NamingService.java,v $ * $RCSfile: NamingService.java,v $
* *
* $Revision: 1.1 $ * $Revision: 1.2 $
* *
* last change:$Date: 2003-01-27 18:16:00 $ * last change:$Date: 2003-05-27 12:55:26 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -104,7 +104,7 @@ public class NamingService extends TestCase { ...@@ -104,7 +104,7 @@ public class NamingService extends TestCase {
Object oInterface = null; Object oInterface = null;
try { try {
XMultiServiceFactory xMSF = Param.getMSF(); XMultiServiceFactory xMSF = (XMultiServiceFactory)Param.getMSF();
oInterface = xMSF.createInstance oInterface = xMSF.createInstance
( "com.sun.star.uno.NamingService" ); ( "com.sun.star.uno.NamingService" );
} }
...@@ -120,7 +120,7 @@ public class NamingService extends TestCase { ...@@ -120,7 +120,7 @@ public class NamingService extends TestCase {
// objRelation for XNamingService as object to be registered // objRelation for XNamingService as object to be registered
try { try {
tEnv.addObjRelation("XNamingService.RegisterObject", tEnv.addObjRelation("XNamingService.RegisterObject",
Param.getMSF().createInstance ((XMultiServiceFactory)Param.getMSF()).createInstance
("com.sun.star.lang.ServiceManager")) ; ("com.sun.star.lang.ServiceManager")) ;
} catch (com.sun.star.uno.Exception e) { } catch (com.sun.star.uno.Exception e) {
log.println("Can't create object relation") ; log.println("Can't create object relation") ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment