summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/base.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:10 +0200
commit6bf5ebc0019a605d4add8185b8bc4180c4e20088 (patch)
tree9f3693b5a8aebeae8439c25d29d7cf4297693f0a /stoc/source/corereflection/base.hxx
parenteac0f3023c920325a4c58bcf6d5d57041128c06e (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Iaf1585c0413d07ce4f8712570d9195d6a21fa174
Diffstat (limited to 'stoc/source/corereflection/base.hxx')
-rw-r--r--stoc/source/corereflection/base.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx
index 68462778e2b0..ea1b8527ad80 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -416,7 +416,7 @@ inline bool coerce_assign(
{
return uno_assignData(
pDest, pTD,
- (void *)&rSource, pTD,
+ const_cast<css::uno::Any *>(&rSource), pTD,
reinterpret_cast< uno_QueryInterfaceFunc >(css::uno::cpp_queryInterface),
reinterpret_cast< uno_AcquireFunc >(css::uno::cpp_acquire),
reinterpret_cast< uno_ReleaseFunc >(css::uno::cpp_release) );