diff options
Diffstat (limited to 'bridges/source/jni_uno/jni_info.cxx')
-rw-r--r-- | bridges/source/jni_uno/jni_info.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/source/jni_uno/jni_info.cxx b/bridges/source/jni_uno/jni_info.cxx index 6db961caffc6..13b8c6b84fb5 100644 --- a/bridges/source/jni_uno/jni_info.cxx +++ b/bridges/source/jni_uno/jni_info.cxx @@ -243,7 +243,7 @@ JNI_compound_type_info::JNI_compound_type_info( reinterpret_cast< typelib_CompoundTypeDescription * >( m_td.get() ); OUString const & uno_name = - OUString::unacquired( &((typelib_TypeDescription *)td)->pTypeName ); + OUString::unacquired( &td->aBase.pTypeName ); // Erase type arguments of instantiated polymorphic struct types: OUString nucleus; @@ -284,10 +284,10 @@ JNI_compound_type_info::JNI_compound_type_info( try { if (type_equals( - ((typelib_TypeDescription *)td)->pWeakRef, + td->aBase.pWeakRef, jni_info->m_Exception_type.getTypeLibType() ) || type_equals( - ((typelib_TypeDescription *)td)->pWeakRef, + td->aBase.pWeakRef, jni_info->m_RuntimeException_type.getTypeLibType() )) { // coverity [ctor_dtor_leak] |