diff options
author | Eike Rathke <erack@redhat.com> | 2015-03-31 14:01:42 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-03-31 14:32:52 +0200 |
commit | 01b615687fe0f39c65e0e8290db434db2f1ef8ac (patch) | |
tree | c2aa9010679a44ce5ef03fe15c8098b737241646 /sc/inc/queryentry.hxx | |
parent | Reduce to static_cast any reinterpret_cast from void pointers (diff) | |
download | core-01b615687fe0f39c65e0e8290db434db2f1ef8ac.tar.gz core-01b615687fe0f39c65e0e8290db434db2f1ef8ac.zip |
Resolves: tdf#35636 implement match on empty cells
This implements search criteria "" and "=" to match empty cells in
spreadsheet functions SUMIF, AVERAGEIF, COUNTIF, SUMIFS, AVERAGEIFS and
COUNTIFS.
Change-Id: I1b4a4c14bac7b974428bf64afb549707a0d75a90
Diffstat (limited to 'sc/inc/queryentry.hxx')
-rw-r--r-- | sc/inc/queryentry.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/queryentry.hxx b/sc/inc/queryentry.hxx index f024e6de2753..cac117061fe8 100644 --- a/sc/inc/queryentry.hxx +++ b/sc/inc/queryentry.hxx @@ -43,8 +43,9 @@ struct SC_DLLPUBLIC ScQueryEntry QueryType meType; double mfVal; svl::SharedString maString; + bool mbMatchEmpty; - Item() : meType(ByValue), mfVal(0.0) {} + Item() : meType(ByValue), mfVal(0.0), mbMatchEmpty(false) {} bool operator== (const Item& r) const; }; |