diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 09:17:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 09:17:47 +0200 |
commit | 0bd502af47b53bc4340df7874bd726361e3bbad9 (patch) | |
tree | 813d8fb60a4a5fe8bf4cbf316fb73621247647f3 /stoc/source/corereflection/base.hxx | |
parent | 0db89bcabfb4e207bed95b4a14685391311eaa3e (diff) |
Clean up remaining C-style casts among void pointers
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
Diffstat (limited to 'stoc/source/corereflection/base.hxx')
-rw-r--r-- | stoc/source/corereflection/base.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx index 7c83960acd4f..d81cf768acf6 100644 --- a/stoc/source/corereflection/base.hxx +++ b/stoc/source/corereflection/base.hxx @@ -425,7 +425,7 @@ inline bool coerce_assign( { return uno_type_assignData( pDest, pTD->pWeakRef, - (void *)rSource.getValue(), rSource.getValueTypeRef(), + const_cast<void *>(rSource.getValue()), rSource.getValueTypeRef(), reinterpret_cast< uno_QueryInterfaceFunc >(css::uno::cpp_queryInterface), reinterpret_cast< uno_AcquireFunc >(css::uno::cpp_acquire), reinterpret_cast< uno_ReleaseFunc >(css::uno::cpp_release) ); |