summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-07 08:22:05 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-07 11:57:31 +0100
commit6ec7e5bb895a1d8ac4c5fc9e1d2855d189f3685a (patch)
treeb279de17e72ae7a6037fb472d20c1795e411699d /sc
parent1e496ce2cf63daf792393bdb2b4881c77c095319 (diff)
cid#1555009 COPY_INSTEAD_OF_MOVE
and cid#1555173 COPY_INSTEAD_OF_MOVE cid#1555255 COPY_INSTEAD_OF_MOVE cid#1556619 COPY_INSTEAD_OF_MOVE cid#1556766 COPY_INSTEAD_OF_MOVE cid#1557131 COPY_INSTEAD_OF_MOVE Change-Id: Ia581e7858d8ff4db08308b4118116781db1464a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176193 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/fmtuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index a20c1f5b3e8d..deaf80656f3e 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -272,7 +272,7 @@ void SAL_CALL ScTableConditionalFormat::addNew(
else if ( rProp.Value >>= aTokens )
{
aEntry.maExpr1.clear();
- aEntry.maTokens1 = aTokens;
+ aEntry.maTokens1 = std::move(aTokens);
}
}
else if ( rProp.Name == SC_UNONAME_FORMULA2 )