summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:15 +0200
commit26655d0909e649f7d7ceb5e5cbb9a26fdc6753b6 (patch)
tree5fa055094420ac0befb980af1ef8ab26a5873e44 /bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
parent14a4390b8711f1c01d20b23f179a4c88db87e5b1 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I19b86fba87df57c4c65c658d051b664c527214eb
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index 3da87f2b91ab..5151cc52a5b5 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -339,7 +339,7 @@ typelib_TypeClass cpp_vtable_call(
case 0: // queryInterface() opt
{
typelib_TypeDescription * pTD = 0;
- TYPELIB_DANGER_GET( &pTD, reinterpret_cast<Type *>( gpreg[2] )->getTypeLibType() );
+ TYPELIB_DANGER_GET( &pTD, static_cast<Type *>( gpreg[2] )->getTypeLibType() );
if ( pTD )
{
XInterface * pInterface = 0;
@@ -351,7 +351,7 @@ typelib_TypeClass cpp_vtable_call(
if ( pInterface )
{
- ::uno_any_construct( reinterpret_cast<uno_Any *>( gpreg[0] ),
+ ::uno_any_construct( static_cast<uno_Any *>( gpreg[0] ),
&pInterface, pTD, cpp_acquire );
pInterface->release();