summaryrefslogtreecommitdiff
path: root/pyuno/source/module
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module')
-rw-r--r--pyuno/source/module/pyuno_type.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_type.cxx b/pyuno/source/module/pyuno_type.cxx
index 592d81bed28a..283362669c00 100644
--- a/pyuno/source/module/pyuno_type.cxx
+++ b/pyuno/source/module/pyuno_type.cxx
@@ -254,7 +254,7 @@ static PyObject* callCtor( const Runtime &r , const char * clazz, const PyRef &
PyObject *PyUNO_Enum_new( const char *enumBase, const char *enumValue, const Runtime &r )
{
- PyRef args( PyTuple_New( 2 ), SAL_NO_ACQUIRE );
+ PyRef args( PyTuple_New( 2 ), SAL_NO_ACQUIRE, NOT_NULL );
PyTuple_SetItem( args.get() , 0 , PyStr_FromString( enumBase ) );
PyTuple_SetItem( args.get() , 1 , PyStr_FromString( enumValue ) );