diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-16 01:26:08 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-18 14:13:19 -0500 |
commit | 234a3be3cded0b0591776b6a7c581772d31cb153 (patch) | |
tree | 25f45c36614594dc620091900cf3a46005027fc8 | |
parent | 24568e6292341ad5965c34825c8512bb3a61b334 (diff) |
This was what was screwing with the multi-item query!
Now multi-item matching works properly.
-rw-r--r-- | sc/source/core/data/table3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index 8d510280d30c..8547a9fe6164 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -1360,7 +1360,7 @@ public: } else if ( bMatchWholeCell ) { - bOk = mpTransliteration->isEqual(aCellStr, rEntry.GetQueryItem().maString); + bOk = mpTransliteration->isEqual(aCellStr, rItem.maString); if ( rEntry.eOp == SC_NOT_EQUAL ) bOk = !bOk; } @@ -1408,7 +1408,7 @@ public: else { // use collator here because data was probably sorted sal_Int32 nCompare = mpCollator->compareString( - aCellStr, rEntry.GetQueryItem().maString); + aCellStr, rItem.maString); switch (rEntry.eOp) { case SC_LESS : |