sc/source/core/data/queryevaluator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit c92b92a3da7ac877337eb73a75cbce427b5ae8e5 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Fri Jun 24 14:59:19 2022 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Sun Jun 26 20:26:48 2022 +0200 rEntry.bDoQuery is always true for processed entries As can be seen at the beginning of ScQueryEvaluator::ValidQuery() in the for loop condition. Comes from 4fd1333ba4bb4f2311e909829, and I'm not quite sure if the passed value is really supposed to be always true or if it's a mistake. Change-Id: I44bde5d50ac70332d6e48ee583ffed13e664cd61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136396 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sc/source/core/data/queryevaluator.cxx b/sc/source/core/data/queryevaluator.cxx index d0b30a9942fd..27968cbf22b3 100644 --- a/sc/source/core/data/queryevaluator.cxx +++ b/sc/source/core/data/queryevaluator.cxx @@ -332,8 +332,7 @@ OUString ScQueryEvaluator::getCellString(const ScRefCellValue& rCell, SCROW nRow : mrTab.GetNumberFormat(static_cast<SCCOL>(rEntry.nField), nRow); SvNumberFormatter* pFormatter = mpContext ? mpContext->GetFormatTable() : mrDoc.GetFormatTable(); - return ScCellFormat::GetInputString(rCell, nFormat, *pFormatter, mrDoc, sharedString, - rEntry.bDoQuery); + return ScCellFormat::GetInputString(rCell, nFormat, *pFormatter, mrDoc, sharedString, true); } }