diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-07 17:36:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-08 09:34:06 +0100 |
commit | 73038ec8263b7e16e6a4dede4cbc1732d47dd2eb (patch) | |
tree | c3e48c1100792d97e99cab3ecc5f79c106095209 /sc | |
parent | 4d01186dcef85b0515e51478bf7340268e0b147a (diff) |
cid#1545764 COPY_INSTEAD_OF_MOVE
Change-Id: I5636f571b6c157b5b23d453d39f2c43eedc2e2a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160446
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/queryiter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/queryiter.cxx b/sc/source/core/data/queryiter.cxx index d3ed109b8661..6c5635bd51b6 100644 --- a/sc/source/core/data/queryiter.cxx +++ b/sc/source/core/data/queryiter.cxx @@ -426,8 +426,7 @@ bool ScQueryCellIteratorBase< accessType, queryType >::BinarySearch( SCCOL col, if (bForceStr || aCell.hasString()) { sal_uInt32 nFormat = pCol->GetNumberFormat(mrContext, aCellData.second); - OUString aStr = ScCellFormat::GetInputString(aCell, nFormat, rFormatter, rDoc); - aLastInRangeString = aStr; + aLastInRangeString = ScCellFormat::GetInputString(aCell, nFormat, rFormatter, rDoc); } else { |