summaryrefslogtreecommitdiff
path: root/cppuhelper/source/tdmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/tdmgr.cxx')
-rw-r--r--cppuhelper/source/tdmgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx
index 7e02154c0d97..74dba82c9de9 100644
--- a/cppuhelper/source/tdmgr.cxx
+++ b/cppuhelper/source/tdmgr.cxx
@@ -579,7 +579,7 @@ static void SAL_CALL typelib_callback(
if (pContext && pTypeName)
{
Reference< container::XHierarchicalNameAccess > access(
- reinterpret_cast< container::XHierarchicalNameAccess * >(
+ static_cast< container::XHierarchicalNameAccess * >(
pContext));
try
{
@@ -649,7 +649,7 @@ sal_Bool SAL_CALL installTypeDescriptionManager(
Reference<container::XHierarchicalNameAccess> xTDMgr(
- reinterpret_cast<container::XHierarchicalNameAccess *>(
+ static_cast<container::XHierarchicalNameAccess *>(
curr2target.mapInterface(xTDMgr_c.get(), ::getCppuType(&xTDMgr_c))),
SAL_NO_ACQUIRE);