From c92b92a3da7ac877337eb73a75cbce427b5ae8e5 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 24 Jun 2022 14:59:19 +0200 Subject: rEntry.bDoQuery is always true for processed entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- sc/source/core/data/queryevaluator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sc') 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(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); } } -- cgit