summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-05-27 18:05:01 +0200
committerEike Rathke <erack@redhat.com>2016-05-27 18:09:21 +0200
commita88ee01b8683ded7d9da6dbcbf4d3e0c2ed4cadc (patch)
tree92a34920795f544c95a4a97c1e4832e99d21bcb7 /include
parent51c8d22ec5e4d306f8f64afb355f95a23deb335d (diff)
omit DCOUNT or DCOUNTA 2nd argument if 0 when writing ODFF or OOXML, tdf#70806
Change-Id: I2833a1005c6941e66a09172b337e23b0bf7f2002
Diffstat (limited to 'include')
-rw-r--r--include/formula/tokenarray.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx
index e14714cc6c15..81b85586f274 100644
--- a/include/formula/tokenarray.hxx
+++ b/include/formula/tokenarray.hxx
@@ -72,6 +72,8 @@ public:
};
explicit MissingConvention( Convention eConvention ) : meConvention(eConvention) {}
inline bool isPODF() const { return meConvention == FORMULA_MISSING_CONVENTION_PODF; }
+ inline bool isODFF() const { return meConvention == FORMULA_MISSING_CONVENTION_ODFF; }
+ inline bool isOOXML() const { return meConvention == FORMULA_MISSING_CONVENTION_OOXML; }
inline Convention getConvention() const { return meConvention; }
private:
Convention meConvention;