summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:43 +0200
commitb3105952fbb04f51d8f1c310f0055219b94f2ee9 (patch)
treef5a8bc25e9f6c96814d754d14513387e10f573d7 /stoc/source/corereflection
parentc96f4e5684d3e7f145dcee5e3eeafd7491671d9b (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Ib3610f9d244b15f8f752c0f781600f5c7e7a944f
Diffstat (limited to 'stoc/source/corereflection')
-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 d81cf768acf6..68462778e2b0 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -387,7 +387,7 @@ inline bool extract(
}
else if (rObj.getValueTypeClass() == css::uno::TypeClass_TYPE)
{
- rDest = pRefl->forType( reinterpret_cast< const css::uno::Type * >( rObj.getValue() )->getTypeLibType() );
+ rDest = pRefl->forType( static_cast< const css::uno::Type * >( rObj.getValue() )->getTypeLibType() );
return rDest.is();
}
}