summaryrefslogtreecommitdiffstats
path: root/sc/inc/compare.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-10-19 13:08:46 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-19 13:57:40 -0400
commit8e8b43a03e77dd251876c1de0ac06eeeb09192cd (patch)
treefa10f139f9ea27368c54182f234d62d7b1870731 /sc/inc/compare.hxx
parentDo the two matrix comparisons both in CompareMat(). (diff)
downloadcore-8e8b43a03e77dd251876c1de0ac06eeeb09192cd.tar.gz
core-8e8b43a03e77dd251876c1de0ac06eeeb09192cd.zip
Generate boolean comparison result array in one step.
This is faster than doing it in two steps as was previously done. Change-Id: I1417e9c6add9d20ee8d68f0c1c91c7d24a0f79b3
Diffstat (limited to 'sc/inc/compare.hxx')
-rw-r--r--sc/inc/compare.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx
index b4e4a50b2a96..0bbf8dcc45fd 100644
--- a/sc/inc/compare.hxx
+++ b/sc/inc/compare.hxx
@@ -35,9 +35,11 @@ struct Compare
bool bVal[2];
bool bEmpty[2];
+ ScQueryOp meOp;
bool mbIgnoreCase;
Compare( OUString* p1, OUString* p2 ) :
+ meOp(SC_EQUAL),
mbIgnoreCase(true)
{
pVal[0] = p1;