diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-12 10:55:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-12 20:21:35 +0100 |
commit | 3808ef2b27a79f55f99543be20c26f0a4ad191b2 (patch) | |
tree | aaa562e6b525811b673cf086f1dd86b26b6d6e5d /basic | |
parent | 988db36e0992829b01a1341e92d6d2df715a7be5 (diff) |
cid#1545535 COPY_INSTEAD_OF_MOVE
and
cid#1545526 COPY_INSTEAD_OF_MOVE
cid#1545442 COPY_INSTEAD_OF_MOVE
cid#1545426 COPY_INSTEAD_OF_MOVE
cid#1545425 COPY_INSTEAD_OF_MOVE
cid#1545387 COPY_INSTEAD_OF_MOVE
cid#1545379 COPY_INSTEAD_OF_MOVE
cid#1545337 COPY_INSTEAD_OF_MOVE
cid#1545334 COPY_INSTEAD_OF_MOVE
cid#1545289 COPY_INSTEAD_OF_MOVE
cid#1545282 COPY_INSTEAD_OF_MOVE
cid#1545270 COPY_INSTEAD_OF_MOVE
cid#1545237 COPY_INSTEAD_OF_MOVE
Change-Id: Iae44a7347c85ae2e367bf672214b2013f30466f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161968
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/eventatt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx index 47930d1f3135..93399726ef11 100644 --- a/basic/source/classes/eventatt.cxx +++ b/basic/source/classes/eventatt.cxx @@ -113,7 +113,7 @@ void SFURL_firing_impl( const ScriptEvent& aScriptEvent, Any* pRet, const Refere Any result = xScript->invoke( inArgs, outIndex, outArgs ); if ( pRet ) { - *pRet = result; + *pRet = std::move(result); } } catch ( const RuntimeException& ) |