summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx
index cb2ba906aa53..0f16d99e73e4 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -495,7 +495,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
if( com::sun::star::uno::TypeClass_EXCEPTION == a.getValueTypeClass() )
{
// add the message in a standard python way !
- PyRef args( PyTuple_New( 1 ), SAL_NO_ACQUIRE );
+ PyRef args( PyTuple_New( 1 ), SAL_NO_ACQUIRE, NOT_NULL );
// assuming that the Message is always the first member, wuuuu
void *pData = (void*)a.getValue();