diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-10 11:56:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-10 13:39:17 +0100 |
commit | 0df43cc217b6382000a109f86e706b139a8e5c29 (patch) | |
tree | 27c141c1236deebb0eabb8188120d7ee6ca20c4a /pyuno | |
parent | 462f7e43a059c10e431e66d8237ab1279620f685 (diff) |
coverity#982756 Dereference null return value
Change-Id: I5bfb5c86093aca4b88b2abf39836a1c6d7cb0bea
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 2 |
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(); |