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/helper | |
parent | 6d393f82b1870368be00a0054feb1685d0a1263d (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I22ee2cbacad8b19bb55db234e816d401edcf4a35
Diffstat (limited to 'cppu/source/helper')
-rw-r--r-- | cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx index 2b90a37027e1..f73a3228ed5b 100644 --- a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx +++ b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx @@ -172,7 +172,7 @@ extern "C" { static void SAL_CALL s_Proxy_dispatch( extern "C" void SAL_CALL Proxy_free(SAL_UNUSED_PARAMETER uno_ExtEnvironment * /*pEnv*/, void * pProxy) SAL_THROW_EXTERN_C() { - Proxy * pThis = static_cast<Proxy * >(reinterpret_cast<uno_Interface *>(pProxy)); + Proxy * pThis = static_cast<Proxy * >(static_cast<uno_Interface *>(pProxy)); delete pThis; } |