summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-03-06 20:28:02 +0200
committerAndras Timar <andras.timar@collabora.com>2017-03-26 21:30:14 +0200
commitbb10cc531e3b6590f8951968be94733f1690a0b8 (patch)
tree1dba01e95a9822bc695a8646e6979be28ba53a42 /sc
parent31e20ceadd614f3d568c28da7797b812985c54e9 (diff)
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')
-rw-r--r--sc/source/filter/inc/xltable.hxx2
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.