pyuno/source/module/pyuno.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8811c41abcbcb39ff79f570dfa094587e8cb95f2
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri Jun 26 14:07:54 2015 +0200

    loplugin:cstylecast
    
    Change-Id: I5f0bceb240a492c7c010b4356bc8efafdd83bf24

diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index 8c6fc5f..413cab0 100644
--- a/pyuno/source/module/pyuno.cxx
+++ b/pyuno/source/module/pyuno.cxx
@@ -338,7 +338,7 @@ int lcl_PySlice_GetIndicesEx( PyObject *pObject, sal_Int32 
nLen, sal_Int32 *nSta
 {
     Py_ssize_t nStart_ssize, nStop_ssize, nStep_ssize, nSliceLength_ssize;
 
-    int nResult = PySlice_GetIndicesEx( (PySliceObject_t*)pObject, nLen, 
&nStart_ssize, &nStop_ssize, &nStep_ssize, &nSliceLength_ssize );
+    int nResult = PySlice_GetIndicesEx( 
static_cast<PySliceObject_t*>(pObject), nLen, &nStart_ssize, &nStop_ssize, 
&nStep_ssize, &nSliceLength_ssize );
     if (nResult == -1)
         return -1;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to