summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_util.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:29:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:33 +0100
commit9bd2b842a5f332ac380c7447487078acc5732a29 (patch)
tree334c391c61afc7ccc41f0403974ea4ad295c5e0f /pyuno/source/module/pyuno_util.cxx
parentb857703113055388adb64f4cb67a9c3702ad9468 (diff)
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I71ebd11d850304772535cfb873086176d301172a
Diffstat (limited to 'pyuno/source/module/pyuno_util.cxx')
-rw-r--r--pyuno/source/module/pyuno_util.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx
index ddfbb0aca534..356524fabf4f 100644
--- a/pyuno/source/module/pyuno_util.cxx
+++ b/pyuno/source/module/pyuno_util.cxx
@@ -102,7 +102,7 @@ OUString pyString2ustring( PyObject *pystr )
PyRef getObjectFromUnoModule( const Runtime &runtime, const char * func )
throw ( RuntimeException )
{
- PyRef object(PyDict_GetItemString( runtime.getImpl()->cargo->getUnoModule().get(), (char*)func ) );
+ PyRef object(PyDict_GetItemString( runtime.getImpl()->cargo->getUnoModule().get(), func ) );
if( !object.is() )
{
OUStringBuffer buf;