summaryrefslogtreecommitdiff
path: root/ridljar
diff options
context:
space:
mode:
authorKay Ramme <kr@openoffice.org>2001-06-25 12:35:43 +0000
committerKay Ramme <kr@openoffice.org>2001-06-25 12:35:43 +0000
commitbeb3c6bcb4c7de232cdef25d0161c781a21c469e (patch)
tree72488abcf4346db8e31faf995b2d35ac6d08df98 /ridljar
parent8b8b13b8f9f19447c23f292e8c646646315fd6a7 (diff)
check for super interface not to be null (read: support for not XInterface derived interfaces) (#88338#)
Diffstat (limited to 'ridljar')
-rw-r--r--ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java b/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java
index 2ea80b495d9a..9d9b68a3b28e 100644
--- a/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java
+++ b/ridljar/com/sun/star/lib/uno/typedesc/TypeDescription.java
@@ -2,9 +2,9 @@
*
* $RCSfile: TypeDescription.java,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: kr $ $Date: 2001-06-08 14:57:03 $
+ * last change: $Author: kr $ $Date: 2001-06-25 13:35:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,7 +97,7 @@ import com.sun.star.lib.uno.typeinfo.TypeInfo;
* methods, which may be changed or moved in the furture, so please
* do not use these methods.
* <p>
- * @version $Revision: 1.10 $ $ $Date: 2001-06-08 14:57:03 $
+ * @version $Revision: 1.11 $ $ $Date: 2001-06-25 13:35:43 $
* @author Kay Ramme
* @since UDK2.0
*/
@@ -717,7 +717,8 @@ public class TypeDescription implements ITypeDescription {
_offset = 3;
}
else {
- superOffset = _superType._offset;
+ if(_superType != null) // do we have a supertype (we don't have one, if we are not derived of XInterface)
+ superOffset = _superType._offset;
TypeInfo typeInfos[] = __getTypeInfos(_class);
Method methods[] = _class.getMethods();