summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/extract.hxx2
-rw-r--r--include/comphelper/uno3.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/comphelper/extract.hxx b/include/comphelper/extract.hxx
index bbd45db64d9e..08e7a17cc1c6 100644
--- a/include/comphelper/extract.hxx
+++ b/include/comphelper/extract.hxx
@@ -57,7 +57,7 @@ inline bool SAL_CALL enum2int( sal_Int32 & rnEnum, const ::com::sun::star::uno::
{
if (rAny.getValueTypeClass() == ::com::sun::star::uno::TypeClass_ENUM)
{
- rnEnum = * reinterpret_cast< const int * >( rAny.getValue() );
+ rnEnum = * static_cast< const int * >( rAny.getValue() );
return true;
}
diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx
index 533a1a7f030b..62f3e7c644f7 100644
--- a/include/comphelper/uno3.hxx
+++ b/include/comphelper/uno3.hxx
@@ -187,7 +187,7 @@ namespace comphelper
::com::sun::star::uno::Any aCheck = _rxAggregate->queryAggregation(
cppu::UnoType<iface>::get());
if (aCheck.hasValue())
- _rxOut = *reinterpret_cast<const ::com::sun::star::uno::Reference<iface>*>(aCheck.getValue());
+ _rxOut = *static_cast<const ::com::sun::star::uno::Reference<iface>*>(aCheck.getValue());
}
return _rxOut.is();
}
@@ -208,7 +208,7 @@ namespace comphelper
cppu::UnoType<iface>::get());
if(aCheck.hasValue())
{
- _rxOut = *reinterpret_cast<const ::com::sun::star::uno::Reference<iface>*>(aCheck.getValue());
+ _rxOut = *static_cast<const ::com::sun::star::uno::Reference<iface>*>(aCheck.getValue());
return _rxOut.is();
}
}