summaryrefslogtreecommitdiff
path: root/pyuno/source
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source')
-rw-r--r--pyuno/source/module/pyuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index 20e2f9fceb14..f068961fb9aa 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -411,12 +411,12 @@ Py_hash_t PyUNO_hash( PyObject *self )
{
Reference< XMaterialHolder > xMe( me->members->xInvocation, UNO_QUERY );
return sal::static_int_cast< Py_hash_t >( reinterpret_cast< sal_IntPtr > (
- xMe->getMaterial().getValue() ) );
+ *static_cast<void * const *>(xMe->getMaterial().getValue()) ) );
}
else
{
return sal::static_int_cast< Py_hash_t >( reinterpret_cast< sal_IntPtr > (
- me->members->wrappedObject.getValue() ) );
+ *static_cast<void * const *>(me->members->wrappedObject.getValue()) ) );
}
}