diff options
author | Eike Rathke <erack@redhat.com> | 2016-05-27 18:05:01 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-05-27 18:09:21 +0200 |
commit | a88ee01b8683ded7d9da6dbcbf4d3e0c2ed4cadc (patch) | |
tree | 92a34920795f544c95a4a97c1e4832e99d21bcb7 /include/formula | |
parent | tdf#93403 check for changed DataSource on all Controls on form reload (diff) | |
download | core-a88ee01b8683ded7d9da6dbcbf4d3e0c2ed4cadc.tar.gz core-a88ee01b8683ded7d9da6dbcbf4d3e0c2ed4cadc.zip |
omit DCOUNT or DCOUNTA 2nd argument if 0 when writing ODFF or OOXML, tdf#70806
Change-Id: I2833a1005c6941e66a09172b337e23b0bf7f2002
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/tokenarray.hxx | 2 |
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; |