diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-29 08:40:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-29 14:50:38 +0200 |
commit | 8f008bf4b968f219d2fe97ef8175ef6be0555943 (patch) | |
tree | ec7e20919414854bdf95e50a1113b223fa3cbc94 /basic/source/classes | |
parent | 4993539cacdee41b7b10fc0dc14d92b7aee9ae5b (diff) |
cid#1554812 COPY_INSTEAD_OF_MOVE
and
cid#1555227 COPY_INSTEAD_OF_MOVE
cid#1555329 COPY_INSTEAD_OF_MOVE
cid#1555384 COPY_INSTEAD_OF_MOVE
cid#1555387 COPY_INSTEAD_OF_MOVE
cid#1555399 COPY_INSTEAD_OF_MOVE
cid#1555400 COPY_INSTEAD_OF_MOVE
cid#1555406 COPY_INSTEAD_OF_MOVE
Change-Id: I85dc45e2686c6b3e8b97a23872cb26416edc27c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171178
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'basic/source/classes')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 7b0ba32e3b7e..247235b6b5e5 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -897,7 +897,7 @@ static Type getUnoTypeForSbxValue( const SbxValue* pVal ) aElementType = cppu::UnoType<Any>::get(); break; } - aElementType = aType; + aElementType = std::move(aType); bNeedsInit = false; } else if( aElementType != aType ) |