diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-10 17:12:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-11 09:26:28 +0200 |
commit | e68f28ec9f68a1f70afce7acfa38ce7a63ccdafe (patch) | |
tree | 45593e64ba3faa1b22f794743876ce13abd85c84 /pyuno/source | |
parent | 3aac0f9b378e12cb51d8e8239f8c0f7627d0f8ca (diff) |
cid#1607892 COPY_INSTEAD_OF_MOVE
and
cid#1607910 COPY_INSTEAD_OF_MOVE
cid#1607818 COPY_INSTEAD_OF_MOVE
cid#1557402 COPY_INSTEAD_OF_MOVE
cid#1556530 COPY_INSTEAD_OF_MOVE
cid#1557396 COPY_INSTEAD_OF_MOVE
cid#1556522 COPY_INSTEAD_OF_MOVE
cid#1555628 COPY_INSTEAD_OF_MOVE
cid#1554705 COPY_INSTEAD_OF_MOVE
Change-Id: Iae3fbf4a04bf3714f416995640b9d70fe204cf73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170321
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
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 ) |