diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-10-08 12:55:21 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-10-12 16:38:29 +0000 |
commit | 7379e48298c623ae5e45c6a176386f335b1ff1b2 (patch) | |
tree | af35af39d929acab6e135d704dd8f854a4a5be37 | |
parent | 38dc5ea989d78b1f854562ea73a4fc0a604b15ac (diff) |
Related tdf#93688: save CalcA1|ExcelA1 also as a global option
without this patch, it's only possible to save it on per-document
base
Change-Id: I13359b751ef766c7de53e9e21c299aadbbc0fbf4
Reviewed-on: https://gerrit.libreoffice.org/19248
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/core/tool/formulaopt.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx index 7bb264bace36..166429f9ad09 100644 --- a/sc/source/core/tool/formulaopt.cxx +++ b/sc/source/core/tool/formulaopt.cxx @@ -365,6 +365,9 @@ void ScFormulaCfg::UpdateFromProperties( const Sequence<OUString>& aNames ) case 2: // Excel R1C1 eConv = formula::FormulaGrammar::CONV_XL_R1C1; break; + case 3: // Calc A1 | Excel A1 + eConv = formula::FormulaGrammar::CONV_A1_XL_A1; + break; default: ; } @@ -548,6 +551,7 @@ void ScFormulaCfg::ImplCommit() case ::formula::FormulaGrammar::CONV_OOO: nVal = 0; break; case ::formula::FormulaGrammar::CONV_XL_A1: nVal = 1; break; case ::formula::FormulaGrammar::CONV_XL_R1C1: nVal = 2; break; + case ::formula::FormulaGrammar::CONV_A1_XL_A1: nVal = 3; break; default: break; } pValues[nProp] <<= nVal; |