diff options
-rw-r--r-- | bridges/source/jni_uno/jni_info.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bridges/source/jni_uno/jni_info.cxx b/bridges/source/jni_uno/jni_info.cxx index 1d601cf505bd..6f2a2a6bc2e7 100644 --- a/bridges/source/jni_uno/jni_info.cxx +++ b/bridges/source/jni_uno/jni_info.cxx @@ -282,7 +282,11 @@ JNI_compound_type_info::JNI_compound_type_info( // retrieve info for base type typelib_TypeDescription * base_td = - reinterpret_cast< typelib_TypeDescription * >( + type_equals( + td->aBase.pWeakRef, + jni_info->m_RuntimeException_type.getTypeLibType()) + ? 0 + : reinterpret_cast< typelib_TypeDescription * >( td->pBaseTypeDescription ); m_base = (0 == base_td ? 0 : jni_info->get_type_info( jni, base_td )); |