summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_callable.cxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-08-20 17:33:37 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2011-08-21 01:46:09 +0200
commit58aa95c94459aec8cb467f3d6ec8ac9491c7a46c (patch)
treec7602c890b3a972d18e5d92d279fcdd0fd76dbc8 /pyuno/source/module/pyuno_callable.cxx
parentd269a182506cad8f11e9631229d4dc20f5e33abe (diff)
Janitorial: remove unnecessary const_casts
The python C API has consts at these places
Diffstat (limited to 'pyuno/source/module/pyuno_callable.cxx')
-rw-r--r--pyuno/source/module/pyuno_callable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx
index 2bd2a7da2fa8..e5c943fa7022 100644
--- a/pyuno/source/module/pyuno_callable.cxx
+++ b/pyuno/source/module/pyuno_callable.cxx
@@ -197,7 +197,7 @@ PyObject* PyUNO_callable_call (PyObject* self, PyObject* args, PyObject*)
static PyTypeObject PyUNO_callable_Type =
{
PyVarObject_HEAD_INIT( &PyType_Type, 0 )
- const_cast< char * >("PyUNO_callable"),
+ "PyUNO_callable",
sizeof (PyUNO_callable),
0,
(destructor) ::pyuno::PyUNO_callable_del,