summaryrefslogtreecommitdiff
path: root/bridges/source/jni_uno/jni_uno2java.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/source/jni_uno/jni_uno2java.cxx')
-rw-r--r--bridges/source/jni_uno/jni_uno2java.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/bridges/source/jni_uno/jni_uno2java.cxx b/bridges/source/jni_uno/jni_uno2java.cxx
index c36e8a12e9b8..a9798e333299 100644
--- a/bridges/source/jni_uno/jni_uno2java.cxx
+++ b/bridges/source/jni_uno/jni_uno2java.cxx
@@ -489,7 +489,7 @@ uno_Interface * Bridge::map_to_uno(
uno_Interface * pUnoI = 0;
(*m_uno_env->getRegisteredInterface)(
- m_uno_env, (void **)&pUnoI,
+ m_uno_env, reinterpret_cast<void **>(&pUnoI),
oid.pData, reinterpret_cast<typelib_InterfaceTypeDescription *>(info->m_td.get()) );
if (0 == pUnoI) // no existing interface, register new proxy
@@ -500,7 +500,7 @@ uno_Interface * Bridge::map_to_uno(
javaI, static_cast<jstring>(jo_oid.get()), oid, info );
(*m_uno_env->registerProxyInterface)(
- m_uno_env, (void **)&pUnoI,
+ m_uno_env, reinterpret_cast<void **>(&pUnoI),
UNO_proxy_free,
oid.pData, reinterpret_cast<typelib_InterfaceTypeDescription *>(info->m_td.get()) );
}
@@ -667,7 +667,7 @@ void SAL_CALL UNO_proxy_dispatch(
uno_Interface * pInterface = 0;
(*bridge->m_uno_env->getRegisteredInterface)(
bridge->m_uno_env,
- (void **) &pInterface, that->m_oid.pData,
+ reinterpret_cast<void **>(&pInterface), that->m_oid.pData,
reinterpret_cast<typelib_InterfaceTypeDescription *>(demanded_td.get()) );
if (0 == pInterface)
@@ -719,7 +719,7 @@ void SAL_CALL UNO_proxy_dispatch(
(*bridge->m_uno_env->registerProxyInterface)(
bridge->m_uno_env,
- (void **) &pUnoI2,
+ reinterpret_cast<void **>(&pUnoI2),
UNO_proxy_free, that->m_oid.pData,
reinterpret_cast<
typelib_InterfaceTypeDescription * >(