summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
authorKay Ramme <kr@openoffice.org>2001-01-16 17:07:14 +0000
committerKay Ramme <kr@openoffice.org>2001-01-16 17:07:14 +0000
commit8ba62925bc47d97e2be0d57255ca9971d00b681b (patch)
tree7241d7b753e4fa758dfbe3eeac04ac8dae78bb05 /jurt
parentfc27d61878cccb8bf86f71b6bd27423f54ae73ea (diff)
create type by class only
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/comp/servicemanager/ServiceManager.java29
1 files changed, 13 insertions, 16 deletions
diff --git a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
index 698c3bbc3bb7..fcfa01c554d1 100644
--- a/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
+++ b/jurt/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -2,9 +2,9 @@
*
* $RCSfile: ServiceManager.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kr $ $Date: 2000-10-27 09:56:36 $
+ * last change: $Author: kr $ $Date: 2001-01-16 18:07:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -101,7 +101,7 @@ import java.lang.reflect.InvocationTargetException;
* calls to the implementing objects and are used instead of casts
* and identity comparisons.
* <p>
- * @version $Revision: 1.2 $ $ $Date: 2000-10-27 09:56:36 $
+ * @version $Revision: 1.3 $ $ $Date: 2001-01-16 18:07:14 $
* @author Markus Herzog
* @see com.sun.star.lang.XMultiServiceFactory
* @see com.sun.star.container.XSet
@@ -607,17 +607,14 @@ public class ServiceManager implements XMultiServiceFactory,
throws com.sun.star.uno.RuntimeException
{
if ( UNO_TYPE == null )
- try {
- UNO_TYPE = new com.sun.star.uno.Type( com.sun.star.uno.TypeClass.SERVICE,
- ServiceManager.class.getName(),
- ServiceManager[].class.getName(),
- ServiceManager.class );
- }
- catch (com.sun.star.uno.Exception e) {
- com.sun.star.uno.RuntimeException rte = new com.sun.star.uno.RuntimeException();
- rte.fillInStackTrace();
- throw rte;
- }
+ try {
+ UNO_TYPE = new com.sun.star.uno.Type(ServiceManager.class);
+ }
+ catch (com.sun.star.uno.Exception e) {
+ com.sun.star.uno.RuntimeException rte = new com.sun.star.uno.RuntimeException();
+ rte.fillInStackTrace();
+ throw rte;
+ }
return UNO_TYPE;
}
@@ -701,7 +698,7 @@ public class ServiceManager implements XMultiServiceFactory,
* implementation of the @see com.sun.star.container.XEnumeration interface.
* It is a inner wrapper for a java.util.Enumeration object.
* <p>
- * @version $Revision: 1.2 $ $ $Date: 2000-10-27 09:56:36 $
+ * @version $Revision: 1.3 $ $ $Date: 2001-01-16 18:07:14 $
* @author Markus Herzog
* @see com.sun.star.lang.XSingleServiceFactory
* @see com.sun.star.lang.XServiceInfo
@@ -774,7 +771,7 @@ public class ServiceManager implements XMultiServiceFactory,
* com.sun.star.lang.XSingleServiceFactory and the com.sun.star.lang.XServiceInfo
* interfaces.
* <p>
- * @version $Revision: 1.2 $ $ $Date: 2000-10-27 09:56:36 $
+ * @version $Revision: 1.3 $ $ $Date: 2001-01-16 18:07:14 $
* @author Markus Herzog
* @see com.sun.star.lang.XSingleServiceFactory
* @see com.sun.star.lang.XServiceInfo