summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-07-20 22:07:53 +0200
committerEike Rathke <erack@redhat.com>2015-07-21 18:20:20 +0000
commitabe178814489286aa45dc0799df50e650a78bc9d (patch)
tree00fb989b569055bc1b638f1c60b526cde6bef34e /include/formula
parent6e7f44a50d8b0b4f14771b55ec00f608331cd8aa (diff)
tdf#92256: Introducing CONV_A1_XL_A1 address pseudoconvention
a special case for INDIRECT function interpretation. Does what OOo used to do, interprets formula using CONV_OOO first, failing that, tries CONV_XL_A1 Change-Id: I4281ab2bb7164607206c0b8e51f7e63a1fc2db9a Reviewed-on: https://gerrit.libreoffice.org/17255 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/grammar.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/formula/grammar.hxx b/include/formula/grammar.hxx
index 4f6a2bcdf2c3..618db98c1143 100644
--- a/include/formula/grammar.hxx
+++ b/include/formula/grammar.hxx
@@ -43,7 +43,11 @@ public:
CONV_LOTUS_A1, /* external? 3d? A1.B2 <placeholder/> */
- CONV_LAST /* for loops, must always be last */
+ CONV_LAST, /* for loops, must always be last */
+
+ // not a real address convention, a special case for INDIRECT function interpretation
+ // only -> try using CONV_OOO, failing that CONV_XL_A1
+ CONV_A1_XL_A1
};
//! CONV_UNSPECIFIED is a negative value!