summaryrefslogtreecommitdiff
path: root/bridges/source/cpp_uno/shared/bridge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/source/cpp_uno/shared/bridge.cxx')
-rw-r--r--bridges/source/cpp_uno/shared/bridge.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/shared/bridge.cxx b/bridges/source/cpp_uno/shared/bridge.cxx
index 5ee05b3d4ad4..43a4c3f307db 100644
--- a/bridges/source/cpp_uno/shared/bridge.cxx
+++ b/bridges/source/cpp_uno/shared/bridge.cxx
@@ -56,8 +56,8 @@ void cpp2unoMapping(
assert(ppUnoI && pTypeDescr);
if (*ppUnoI)
{
- (*reinterpret_cast< uno_Interface * >( *ppUnoI )->release)(
- reinterpret_cast< uno_Interface * >( *ppUnoI ) );
+ (*static_cast< uno_Interface * >( *ppUnoI )->release)(
+ static_cast< uno_Interface * >( *ppUnoI ) );
*ppUnoI = 0;
}
if (pCppI)