summaryrefslogtreecommitdiff
path: root/ridljar
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2002-10-29 10:01:46 +0000
committerDaniel Boelzle <dbo@openoffice.org>2002-10-29 10:01:46 +0000
commitab7877093dc7842817ab0edd6a5c32c837d594aa (patch)
tree237cb11f3a299b169c6a7b11a01c1c262021302a /ridljar
parent21d95a755bb02abd84bf6f02691f75c8c6c279bb (diff)
#104312# fixed false type class init for STRUCT; added ctor( type_name, type_class )
Diffstat (limited to 'ridljar')
-rw-r--r--ridljar/com/sun/star/uno/Type.java14
1 files changed, 10 insertions, 4 deletions
diff --git a/ridljar/com/sun/star/uno/Type.java b/ridljar/com/sun/star/uno/Type.java
index 770ad9d6f6b6..abe424f9bbe2 100644
--- a/ridljar/com/sun/star/uno/Type.java
+++ b/ridljar/com/sun/star/uno/Type.java
@@ -2,9 +2,9 @@
*
* $RCSfile: Type.java,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jbu $ $Date: 2002-01-18 14:04:55 $
+ * last change: $Author: dbo $ $Date: 2002-10-29 11:01:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -73,7 +73,7 @@ import java.util.Hashtable;
* to the java runtime system, e.g. for delaying the need of a class,
* so that it is possible to generate it on the fly.
* <p>
- * @version $Revision: 1.6 $ $ $Date: 2002-01-18 14:04:55 $
+ * @version $Revision: 1.7 $ $ $Date: 2002-10-29 11:01:46 $
* @since UDK1.0
*/
public class Type {
@@ -191,7 +191,7 @@ public class Type {
_typeName = zClass.getName();
}
else {
- _typeClass = TypeClass.UNKNOWN;
+ _typeClass = TypeClass.STRUCT;
_typeName = zClass.getName();
}
}
@@ -229,6 +229,12 @@ public class Type {
_typeName = typeName;
}
+ public Type( String type_name, TypeClass type_class )
+ {
+ _typeClass = type_class;
+ _typeName = type_name;
+ }
+
/**
* Constructs a new <code>Type</code> with