diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-06-24 14:59:19 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-06-26 20:26:48 +0200 |
commit | c92b92a3da7ac877337eb73a75cbce427b5ae8e5 (patch) | |
tree | 19751c5a55f1c4f11c0b911630ebe4c323f6441e /sc | |
parent | 5a9c4fc41ec42161ff89c946248f03f16fae7d24 (diff) |
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.lunak@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/queryevaluator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } |