[Libreoffice-commits] core.git: sc/source

Katarina Behrens Katarina.Behrens at cib.de
Mon Oct 12 09:38:49 PDT 2015


 sc/source/core/tool/formulaopt.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 7379e48298c623ae5e45c6a176386f335b1ff1b2
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Thu Oct 8 12:55:21 2015 +0200

    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 at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx
index 7bb264b..166429f 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;


More information about the Libreoffice-commits mailing list