From 0df43cc217b6382000a109f86e706b139a8e5c29 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Jul 2014 11:56:06 +0100 Subject: coverity#982756 Dereference null return value Change-Id: I5bfb5c86093aca4b88b2abf39836a1c6d7cb0bea --- pyuno/source/module/pyuno_runtime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuno') 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(); -- cgit