diff options
Diffstat (limited to 'stoc/source/corereflection/criface.cxx')
-rw-r--r-- | stoc/source/corereflection/criface.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx index d5a3a2192d60..680e55083dd4 100644 --- a/stoc/source/corereflection/criface.cxx +++ b/stoc/source/corereflection/criface.cxx @@ -219,13 +219,13 @@ void IdlAttributeFieldImpl::set( Any & rObj, const Any & rValue ) bool bAssign; if (pTD->eTypeClass == typelib_TypeClass_ANY) { - uno_copyAndConvertData( pArg, (const_cast< Any * >(&rValue)), + uno_copyAndConvertData( pArg, const_cast< Any * >(&rValue), pTD, getReflection()->getCpp2Uno().get() ); bAssign = true; } else if (typelib_typedescriptionreference_equals( rValue.getValueTypeRef(), pTD->pWeakRef )) { - uno_copyAndConvertData( pArg, (const_cast< void * >(rValue.getValue()) ), + uno_copyAndConvertData( pArg, const_cast< void * >(rValue.getValue()), pTD, getReflection()->getCpp2Uno().get() ); bAssign = true; } |