diff options
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 { |