diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-07-20 22:07:53 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-07-21 18:20:20 +0000 |
commit | abe178814489286aa45dc0799df50e650a78bc9d (patch) | |
tree | 00fb989b569055bc1b638f1c60b526cde6bef34e /sc/source/ui/optdlg | |
parent | 6e7f44a50d8b0b4f14771b55ec00f608331cd8aa (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 'sc/source/ui/optdlg')
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx index d49fb65ceee8..6f2de0bf8b92 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.cxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx @@ -46,6 +46,8 @@ formula::FormulaGrammar::AddressConvention toAddressConvention(sal_Int32 nPos) return formula::FormulaGrammar::CONV_XL_A1; case 3: return formula::FormulaGrammar::CONV_XL_R1C1; + case 4: + return formula::FormulaGrammar::CONV_A1_XL_A1; case 0: default: ; @@ -64,6 +66,8 @@ sal_Int32 toSelectedItem( formula::FormulaGrammar::AddressConvention eConv ) return 2; case formula::FormulaGrammar::CONV_XL_R1C1: return 3; + case formula::FormulaGrammar::CONV_A1_XL_A1: + return 4; default: ; } |