pyuno/source/module/pyuno.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3458a252022af241f364a9d49c458180442ebd07 Author: Matthew J. Francis <mjay.fran...@gmail.com> Date: Fri Jul 24 23:50:45 2015 +0800 Fix PyUNO object hash to use the correct pointer Change-Id: Id93cba88eaf0dca0784051507809bc849d046a03 Reviewed-on: https://gerrit.libreoffice.org/17337 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Matthew Francis <mjay.fran...@gmail.com> diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index 20e2f9f..f068961 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()) ) ); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits