diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:12:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:12:58 +0200 |
commit | c57ffac6954095ef729daf92b9965ced2da2ddc4 (patch) | |
tree | 57377e50a6c10b059cb5e29f036f6c991e3bca5c /cppu/source/uno/lbenv.cxx | |
parent | 6d393f82b1870368be00a0054feb1685d0a1263d (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I22ee2cbacad8b19bb55db234e816d401edcf4a35
Diffstat (limited to 'cppu/source/uno/lbenv.cxx')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index 19578469fbeb..cc7a02e3364a 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -882,7 +882,7 @@ static void SAL_CALL unoenv_computeObjectIdentifier( static void SAL_CALL unoenv_acquireInterface( SAL_UNUSED_PARAMETER uno_ExtEnvironment *, void * pUnoI_ ) { - uno_Interface * pUnoI = reinterpret_cast< uno_Interface * >(pUnoI_); + uno_Interface * pUnoI = static_cast< uno_Interface * >(pUnoI_); (*pUnoI->acquire)( pUnoI ); } @@ -890,7 +890,7 @@ static void SAL_CALL unoenv_acquireInterface( static void SAL_CALL unoenv_releaseInterface( SAL_UNUSED_PARAMETER uno_ExtEnvironment *, void * pUnoI_ ) { - uno_Interface * pUnoI = reinterpret_cast< uno_Interface * >(pUnoI_); + uno_Interface * pUnoI = static_cast< uno_Interface * >(pUnoI_); (*pUnoI->release)( pUnoI ); } } |