diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-28 13:50:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-28 13:50:37 +0100 |
commit | 4e3da621fe26c2ad85258692c63a044d0541bd64 (patch) | |
tree | 05607d0de471c5d9451b197945243f735ee168b0 /bridges/source/jni_uno/jni_java2uno.cxx | |
parent | Clean up implementation of osl_getSymbol et al (diff) | |
download | core-4e3da621fe26c2ad85258692c63a044d0541bd64.tar.gz core-4e3da621fe26c2ad85258692c63a044d0541bd64.zip |
Some more loplugin:cstylecast clean-up
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
Diffstat (limited to 'bridges/source/jni_uno/jni_java2uno.cxx')
-rw-r--r-- | bridges/source/jni_uno/jni_java2uno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/jni_uno/jni_java2uno.cxx b/bridges/source/jni_uno/jni_java2uno.cxx index b827a1e07b6a..5c992f167cbb 100644 --- a/bridges/source/jni_uno/jni_java2uno.cxx +++ b/bridges/source/jni_uno/jni_java2uno.cxx @@ -186,7 +186,7 @@ jobject Bridge::call_uno( #endif (nParams * sizeof (void *)) + return_size + (nParams * sizeof (largest)) ); - void ** uno_args = (void **) mem; + void ** uno_args = reinterpret_cast<void **>(mem); void * uno_ret = return_size == 0 ? 0 : (mem + (nParams * sizeof (void *))); largest * uno_args_mem = reinterpret_cast<largest *> (mem + (nParams * sizeof (void *)) + return_size); |