diff options
Diffstat (limited to 'pyuno/source')
-rw-r--r-- | pyuno/source/module/pyuno_callable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index 8f19fc8eb654..9b1550f7789b 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -128,11 +128,11 @@ static PyObject* PyUNO_callable_call( PyRef ref = runtime.any2PyObject( aOutParam[i] ); PyTuple_SetItem (return_list.get(), 1+i, ref.getAcquired()); } - ret = return_list; + ret = std::move(return_list); } else { - ret = temp; + ret = std::move(temp); } } catch( const css::reflection::InvocationTargetException & e ) |