From 886759084d96beb15231f43cc77b0f9b5387844b Mon Sep 17 00:00:00 2001 From: Hans-Joachim Lankenau Date: Mon, 18 Aug 2003 14:01:22 +0000 Subject: INTEGRATION: CWS geordi2q01 (1.2.14); FILE MERGED 2003/08/18 13:04:06 hr 1.2.14.1: #i18350#: join changes from CWS ooo11rc3 --- pyuno/source/module/pyuno_callable.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index 71f1429d7204..67088a11874d 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -2,9 +2,9 @@ * * $RCSfile: pyuno_callable.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jbu $ $Date: 2003-05-24 23:27:40 $ + * last change: $Author: hjs $ $Date: 2003-08-18 15:01:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -156,7 +156,10 @@ PyObject* PyUNO_callable_call (PyObject* self, PyObject* args, PyObject* kwords) // initialize with defaults in case of exceptions int i; for( i = 1 ; i < 1+aOutParam.getLength() ; i ++ ) + { + Py_INCREF( Py_None ); PyTuple_SetItem( return_list.get() , i , Py_None ); + } for( i = 0 ; i < aOutParam.getLength() ; i ++ ) { -- cgit v1.2.3