summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/queryevaluator.cxx3
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);
}
}