diff options
author | Armin Le Grand <alg@apache.org> | 2013-01-02 13:43:58 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2013-01-02 13:43:58 +0000 |
commit | 800b94a35ef3ffd424ed82bb49cf2dff583eb189 (patch) | |
tree | adc8513a0306fc45883be81dae1177f9c8ebe308 /pyuno | |
parent | 57811cc1cd5e49c1e87fb2a9d79f8a3941a025e3 (diff) |
#121496# non-const char ptr needed, see task
Notes
Notes:
prefer: 8a6c5b2fcbf2b6d87529e91f58aa41c02d0fc990
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_type.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_type.cxx b/pyuno/source/module/pyuno_type.cxx index 8fe424597823..ee01ddc5bcc0 100644 --- a/pyuno/source/module/pyuno_type.cxx +++ b/pyuno/source/module/pyuno_type.cxx @@ -288,7 +288,7 @@ PyObject *importToGlobal(PyObject *str, PyObject *dict, PyObject *target) PyRef pTypeName( PyUnicode_AsUTF8String( str ), SAL_NO_ACQUIRE ); const char *typeName = PyBytes_AsString( pTypeName.get() ); #else - const char *targetName = PyBytes_AsString( target ); + /*const*/ char *targetName = PyBytes_AsString( target ); const char *typeName = PyBytes_AsString( str ); #endif PyModule_AddObject( |