diff options
Diffstat (limited to 'pyuno/source/module')
-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 5c0e2f30c52c..81f18f73b86b 100644 --- a/pyuno/source/module/pyuno_type.cxx +++ b/pyuno/source/module/pyuno_type.cxx @@ -279,7 +279,7 @@ PyObject* PyUNO_Type_new (const char *typeName , TypeClass t , const Runtime &r PyObject* PyUNO_char_new ( sal_Unicode val , const Runtime &r ) { // retrieve type object - PyRef args( PyTuple_New( 1 ), SAL_NO_ACQUIRE ); + PyRef args( PyTuple_New( 1 ), SAL_NO_ACQUIRE, NOT_NULL ); Py_UNICODE u[2]; u[0] = val; |