summaryrefslogtreecommitdiffstats
path: root/sc/inc/queryentry.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-31 14:01:42 +0200
committerEike Rathke <erack@redhat.com>2015-03-31 14:32:52 +0200
commit01b615687fe0f39c65e0e8290db434db2f1ef8ac (patch)
treec2aa9010679a44ce5ef03fe15c8098b737241646 /sc/inc/queryentry.hxx
parentReduce to static_cast any reinterpret_cast from void pointers (diff)
downloadcore-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.hxx3
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;
};