summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-14 10:37:47 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-14 10:37:47 -0500
commitebdd9c300718bce454ef56a31d5d8fb699fc1822 (patch)
treebcafb712a437482e70321b9f64c2a68825407286 /sc/source/core/data
parentf8beaced3d4dbf541fafb94b84ed35b498d4365e (diff)
Revert "Revert "Removing the mixed comparison flag, which is no longer needed.""
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/dociter.cxx4
-rw-r--r--sc/source/core/data/table3.cxx17
2 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 5efe0163e384..689e68e2e6b4 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -865,10 +865,6 @@ bool ScDBQueryDataIterator::DataAccessMatrix::isValidQuery(SCROW nRow, const ScM
}
while (false);
}
- else if (mpParam->bMixedComparison)
- {
- // Not used at the moment.
- }
if (aResults.empty())
// First query entry.
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 16c4793d546d..453905549f10 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -1442,23 +1442,6 @@ bool ScTable::ValidQuery(SCROW nRow, const ScQueryParam& rParam,
}
}
}
- else if (rParam.bMixedComparison)
- {
- if (rItem.meType == ScQueryEntry::ByString &&
- (rEntry.eOp == SC_LESS || rEntry.eOp == SC_LESS_EQUAL) &&
- (pCell ? pCell->HasValueData() :
- HasValueData( static_cast<SCCOL>(rEntry.nField), nRow)))
- {
- bOk = true;
- }
- else if (rItem.meType != ScQueryEntry::ByString &&
- (rEntry.eOp == SC_GREATER || rEntry.eOp == SC_GREATER_EQUAL) &&
- (pCell ? pCell->HasStringData() :
- HasStringData( static_cast<SCCOL>(rEntry.nField), nRow)))
- {
- bOk = true;
- }
- }
if (nPos == -1)
{