diff options
author | Chenxiong Qi <qcxhome@gmail.com> | 2022-08-27 16:00:19 +0800 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-09-05 21:53:40 +0200 |
commit | 20c7fbad7d929df335b0610a748b6e1d694dafaf (patch) | |
tree | 25cbeee3cd26f798673aae3f96b34d1cef9040bd /sc/source | |
parent | 74348eb94e8d940f276274e83ecd41060fc615b1 (diff) |
tdf#73845 restore Empty and NonEmpty query filter after FILEOPEN
Signed-off-by: Chenxiong Qi <qcxhome@gmail.com>
Change-Id: I659e0d97c44bf189f457ca04eb49248121278c10
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138919
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
(cherry picked from commit 26e3bfa02c4d582fd430171d509fa570ca364d35)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139427
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/xml/xmlfilti.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlfilti.cxx b/sc/source/filter/xml/xmlfilti.cxx index 20a89d5763ec..e549a3438d78 100644 --- a/sc/source/filter/xml/xmlfilti.cxx +++ b/sc/source/filter/xml/xmlfilti.cxx @@ -745,6 +745,7 @@ void ScXMLDPConditionContext::getOperatorXML( void SAL_CALL ScXMLDPConditionContext::endFastElement( sal_Int32 /*nElement*/ ) { ScQueryEntry aFilterField; + aFilterField.nField = nField; if (pFilterContext->GetConnection()) aFilterField.eConnect = SC_OR; else @@ -759,7 +760,6 @@ void SAL_CALL ScXMLDPConditionContext::endFastElement( sal_Int32 /*nElement*/ ) utl::SearchParam::SearchType eSearchType = utl::SearchParam::SearchType::Normal; getOperatorXML(sOperator, aFilterField.eOp, eSearchType); pFilterContext->SetSearchType(eSearchType); - aFilterField.nField = nField; ScQueryEntry::Item& rItem = aFilterField.GetQueryItem(); svl::SharedStringPool& rPool = GetScImport().GetDocument()->GetSharedStringPool(); |