diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-01 12:05:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-08-02 10:05:45 +0200 |
commit | d5ad9c0777602541fb39dea5da71e7bfd70595fb (patch) | |
tree | 6a11c24cbe459c5d9447312f6fc77a497c8622cf /basic/source/classes/eventatt.cxx | |
parent | c7bc52f8e69f772edad9c4f695155281e19b1952 (diff) |
cid#1556086 COPY_INSTEAD_OF_MOVE
and
cid#1556087 COPY_INSTEAD_OF_MOVE
cid#1556093 COPY_INSTEAD_OF_MOVE
cid#1556094 COPY_INSTEAD_OF_MOVE
cid#1556105 COPY_INSTEAD_OF_MOVE
cid#1556121 COPY_INSTEAD_OF_MOVE
cid#1556184 COPY_INSTEAD_OF_MOVE
cid#1556399 COPY_INSTEAD_OF_MOVE
cid#1556405 COPY_INSTEAD_OF_MOVE
cid#1556419 COPY_INSTEAD_OF_MOVE
cid#1556421 COPY_INSTEAD_OF_MOVE
cid#1556444 COPY_INSTEAD_OF_MOVE
cid#1556448 COPY_INSTEAD_OF_MOVE
cid#1556457 COPY_INSTEAD_OF_MOVE
cid#1556468 COPY_INSTEAD_OF_MOVE
Change-Id: I1f352682daebd4e3ed2e7fe669aa0943dcc33edd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171372
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'basic/source/classes/eventatt.cxx')
-rw-r--r-- | basic/source/classes/eventatt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx index 3ffe183e3a3b..f97f1a77afef 100644 --- a/basic/source/classes/eventatt.cxx +++ b/basic/source/classes/eventatt.cxx @@ -226,11 +226,11 @@ void BasicScriptListener_Impl::firing_impl( const ScriptEvent& aScriptEvent, Any StarBASICRef xLibSearchBasic; if( aLocation == "application" ) { - xLibSearchBasic = xAppStandardBasic; + xLibSearchBasic = std::move(xAppStandardBasic); } else if( aLocation == "document" ) { - xLibSearchBasic = xDocStandardBasic; + xLibSearchBasic = std::move(xDocStandardBasic); } else { |