summaryrefslogtreecommitdiff
path: root/stoc/source/invocation/invocation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/invocation/invocation.cxx')
-rw-r--r--stoc/source/invocation/invocation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index da1b6a9e2182..c08dff06cf31 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -359,7 +359,7 @@ void Invocation_Impl::setMaterial( const Any& rMaterial )
Reference<XInterface> xObj;
if (rMaterial.getValueType().getTypeClass() == TypeClass_INTERFACE)
- xObj = *(Reference<XInterface>*)rMaterial.getValue();
+ xObj = *static_cast<Reference<XInterface> const *>(rMaterial.getValue());
_aMaterial = rMaterial;
// Ersteinmal alles ausserhalb des guards machen