From 12bcfec04fcbe6425e327109ad47cd2b2b80d2bd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 5 Nov 2014 10:15:38 +0000 Subject: markup with event type not checker type Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da --- bridges/source/jni_uno/jni_bridge.cxx | 4 ++-- bridges/source/jni_uno/jni_info.cxx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'bridges') diff --git a/bridges/source/jni_uno/jni_bridge.cxx b/bridges/source/jni_uno/jni_bridge.cxx index 6409c2a86058..da3a33be415d 100644 --- a/bridges/source/jni_uno/jni_bridge.cxx +++ b/bridges/source/jni_uno/jni_bridge.cxx @@ -490,7 +490,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping( uno_registerMapping( &mapping, Bridge_free, pFrom, (uno_Environment *)pTo->pExtEnv, 0 ); - //coverity[leaked_storage] + // coverity[leaked_storage] } else if ( from_env_typename == UNO_LB_UNO && to_env_typename == UNO_LB_JAVA ) { @@ -500,7 +500,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping( uno_registerMapping( &mapping, Bridge_free, (uno_Environment *)pFrom->pExtEnv, pTo, 0 ); - //coverity[leaked_storage] + // coverity[leaked_storage] } } catch (const BridgeRuntimeError & err) diff --git a/bridges/source/jni_uno/jni_info.cxx b/bridges/source/jni_uno/jni_info.cxx index 96f695783b1e..038d971dc271 100644 --- a/bridges/source/jni_uno/jni_info.cxx +++ b/bridges/source/jni_uno/jni_info.cxx @@ -104,6 +104,7 @@ JNI_interface_type_info::JNI_interface_type_info( typelib_InterfaceTypeDescription * td = reinterpret_cast< typelib_InterfaceTypeDescription * >( m_td.get() ); + // coverity [ctor_dtor_leak] m_methods = new jmethodID[ td->nMapFunctionIndexToMemberIndex ]; sal_Int32 nMethodIndex = 0; typelib_TypeDescriptionReference ** ppMembers = td->ppMembers; @@ -289,6 +290,7 @@ JNI_compound_type_info::JNI_compound_type_info( ((typelib_TypeDescription *)td)->pWeakRef, jni_info->m_RuntimeException_type.getTypeLibType() )) { + // coverity [ctor_dtor_leak] m_fields = new jfieldID[ 2 ]; m_fields[ 0 ] = 0; // special Throwable.getMessage() // field Context @@ -848,7 +850,7 @@ JNI_info::JNI_info( css::uno::TypeDescription XInterface_td( ::getCppuType( (css::uno::Reference< css::uno::XInterface > const *)0 ) ); - //coverity [ctor_dtor_leak] + // coverity [ctor_dtor_leak] m_XInterface_type_info = new JNI_interface_type_info( jni, XInterface_td.get() ); } -- cgit