sc/source/core/data/queryiter.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 73038ec8263b7e16e6a4dede4cbc1732d47dd2eb Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Thu Dec 7 17:36:28 2023 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Dec 8 09:34:06 2023 +0100 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.mcnam...@collabora.com> 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 {