diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:17:42 +0200 |
commit | 62e798c4a520a8b96e9113e363b1f26767231636 (patch) | |
tree | 7e0003b646bd68af83443890244dec1371499de7 /vcl/source/window/syschild.cxx | |
parent | 9676efca531290ebde3839c5246abdde159499cf (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I65d76524847b57dcb17ee3f66e156ec1fd51b239
Diffstat (limited to 'vcl/source/window/syschild.cxx')
-rw-r--r-- | vcl/source/window/syschild.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/syschild.cxx b/vcl/source/window/syschild.cxx index 50bdd7e0ba08..f82e274d3c12 100644 --- a/vcl/source/window/syschild.cxx +++ b/vcl/source/window/syschild.cxx @@ -158,7 +158,7 @@ void SystemChildWindow::EnableEraseBackground( bool bEnable ) void SystemChildWindow::ImplTestJavaException( void* pEnv ) { #if HAVE_FEATURE_JAVA - JNIEnv* pJavaEnv = reinterpret_cast< JNIEnv* >( pEnv ); + JNIEnv* pJavaEnv = static_cast< JNIEnv* >( pEnv ); jthrowable jtThrowable = pJavaEnv->ExceptionOccurred(); if( jtThrowable ) |