summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-26 14:07:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-26 14:07:54 +0200
commit8811c41abcbcb39ff79f570dfa094587e8cb95f2 (patch)
tree3e64bc69e197fe1de087dcbf5a08190bf5cb7a02 /pyuno
parent2a807ca13748af3ef82f4720c497a511b30a3ec7 (diff)
loplugin:cstylecast
Change-Id: I5f0bceb240a492c7c010b4356bc8efafdd83bf24
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx
index 8c6fc5f67a04..413cab0b420f 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;