diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-03-06 20:28:02 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-03-26 21:30:14 +0200 |
commit | bb10cc531e3b6590f8951968be94733f1690a0b8 (patch) | |
tree | 1dba01e95a9822bc695a8646e6979be28ba53a42 /sc/source/filter/inc | |
parent | Set the 'unused2' bit of 'Font' to 1 iff 'uls' is greater than 0 per spec (diff) | |
download | core-bb10cc531e3b6590f8951968be94733f1690a0b8.tar.gz core-bb10cc531e3b6590f8951968be94733f1690a0b8.zip |
The 'reserved1' bit of a 'Formula' MUST be zero according to current spec
See https://msdn.microsoft.com/en-us/library/dd908919(v=office.12).aspx .
This means we will never set the EXC_FORMULA_RECALC_ONLOAD flag, hmm?
Change-Id: Ic081caa7f98426394cbc7b0b320fa1a5a9a34f6c
(cherry picked from commit 727ee3f92a8882914ac3f68eaf53ac519ace5f38)
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r-- | sc/source/filter/inc/xltable.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/inc/xltable.hxx b/sc/source/filter/inc/xltable.hxx index 4d06dd250abb..44aea94b63ae 100644 --- a/sc/source/filter/inc/xltable.hxx +++ b/sc/source/filter/inc/xltable.hxx @@ -65,7 +65,7 @@ const sal_uInt16 EXC_ID4_FORMULA = 0x0406; const sal_uInt16 EXC_FORMULA_RECALC_ALWAYS = 0x0001; const sal_uInt16 EXC_FORMULA_RECALC_ONLOAD = 0x0002; const sal_uInt16 EXC_FORMULA_SHARED = 0x0008; -const sal_uInt16 EXC_FORMULA_DEFAULTFLAGS = EXC_FORMULA_RECALC_ONLOAD; +const sal_uInt16 EXC_FORMULA_DEFAULTFLAGS = 0x0000; const sal_uInt8 EXC_FORMULA_RES_STRING = 0x00; /// Result is a string. const sal_uInt8 EXC_FORMULA_RES_BOOL = 0x01; /// Result is Boolean value. |