summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_except.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
-rw-r--r--pyuno/source/module/pyuno_except.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_except.cxx b/pyuno/source/module/pyuno_except.cxx
index 08a0728c739d..1835784c9358 100644
--- a/pyuno/source/module/pyuno_except.cxx
+++ b/pyuno/source/module/pyuno_except.cxx
@@ -133,7 +133,7 @@ static PyRef createClass( const OUString & name, const Runtime &runtime )
base = PyRef(PyExc_Exception);
}
}
- PyRef args( PyTuple_New( 3 ), SAL_NO_ACQUIRE );
+ PyRef args( PyTuple_New( 3 ), SAL_NO_ACQUIRE, NOT_NULL );
PyRef pyTypeName = ustring2PyString( name /*.replace( '.', '_' )*/ );