summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-03 17:07:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-03 20:10:17 +0100
commitb75b626ee52b7dec91f48271aa58d66b27604e51 (patch)
treeb7e03fcd17658790ba0cfb406d100d5db6f3e06e /pyuno
parent229abf40ac4ee551063cdefabede3c9b31146e07 (diff)
coverity#982756 Dereference null return value
Change-Id: Ia29c6167df0ce061fae88d81bef9a98ca37fcce3
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 5ef20df459ff..a4b81fca248c 100644
--- a/pyuno/source/module/pyuno_runtime.cxx
+++ b/pyuno/source/module/pyuno_runtime.cxx
@@ -524,7 +524,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const
Reference< XTypeConverter > tc = getImpl()->cargo->xTypeConverter;
Reference< XSingleServiceFactory > ssf = getImpl()->cargo->xInvocation;
tc->convertTo (a, ::getCppuType (&s)) >>= s;
- PyRef tuple( PyTuple_New (s.getLength()), SAL_NO_ACQUIRE);
+ PyRef tuple( PyTuple_New (s.getLength()), SAL_NO_ACQUIRE, NOT_NULL);
int i=0;
try
{