[Libreoffice-commits] core.git: Branch 'libreoffice-4-0-1' - formula/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Feb 26 04:10:24 PST 2013


 formula/source/core/api/FormulaCompiler.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d8ae8130759119fe5e1a184bab5a06d469a8689a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Feb 25 08:09:43 2013 +0100

    ocMacro and ocExternal need to be recalculated on load, fdo#60977
    
    Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
    Reviewed-on: https://gerrit.libreoffice.org/2413
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
    Reviewed-on: https://gerrit.libreoffice.org/2417
    Reviewed-by: Michael Meeks <michael.meeks at suse.com>
    Reviewed-by: Jan Holesovsky <kendy at suse.cz>
    Tested-by: Jan Holesovsky <kendy at suse.cz>

diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index 468ecd3..16b3fd5 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1061,6 +1061,9 @@ void FormulaCompiler::Factor()
                     // Don't use SetRecalcModeOnLoad() which would override
                     // ModeAlways.
                 case ocConvert :
+                case ocDde:
+                case ocMacro:
+                case ocExternal:
                     pArr->AddRecalcMode( RECALCMODE_ONLOAD );
                 break;
                     // If the referred cell is moved the value changes.
@@ -1080,9 +1083,6 @@ void FormulaCompiler::Factor()
                     pArr->AddRecalcMode( RECALCMODE_ONLOAD );
                     pArr->SetHyperLink(true);
                 break;
-                case ocDde:
-                    pArr->AddRecalcMode( RECALCMODE_ONLOAD );
-                break;
                 default:
                     ;   // nothing
             }


More information about the Libreoffice-commits mailing list