summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:08 +0200
commit6646474a8d640aade743c70c12726a6aeb65eee4 (patch)
tree841f0402b87bc7a329e9287237212c78565e0d6c /bridges
parentef6877c1671d7aea608b9448baa964c006c247ba (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Iec7b56a49924acfc6cb15c17ea6a4c9d3ee196b0
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/jni_uno/jni_bridge.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/jni_uno/jni_bridge.cxx b/bridges/source/jni_uno/jni_bridge.cxx
index 7eb2dc01f0db..75483733f6cc 100644
--- a/bridges/source/jni_uno/jni_bridge.cxx
+++ b/bridges/source/jni_uno/jni_bridge.cxx
@@ -71,7 +71,7 @@ void SAL_CALL Mapping_map_to_uno(
{
if (0 != *ppUnoI)
{
- uno_Interface * p = *(uno_Interface **)ppUnoI;
+ uno_Interface * p = *ppUnoI;
(*p->release)( p );
*ppUnoI = 0;
}
@@ -95,7 +95,7 @@ void SAL_CALL Mapping_map_to_uno(
uno_Interface * pUnoI = bridge->map_to_uno( jni, javaI, info );
if (0 != *ppUnoI)
{
- uno_Interface * p = *(uno_Interface **)ppUnoI;
+ uno_Interface * p = *ppUnoI;
(*p->release)( p );
}
*ppUnoI = pUnoI;