[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Wed Jul 3 18:33:35 PDT 2013


 sc/source/core/data/column.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 697a73b070b2be75685dc6f1c2c695064a4d6148
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Wed Jul 3 21:34:13 2013 -0400

    These methods shouldn't affect formula grouping.
    
    They only change sheet index values in all formula cells uniformly;
    they should not affect how they are grouped.
    
    Change-Id: Ie05152de1d6fc5799145e5721c57fd74f8f58239

diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 6a2dbd3..2ec0647 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -2782,10 +2782,7 @@ void ScColumn::UpdateDeleteTab(SCTAB nDelPos, bool bIsMove, ScColumn* /*pRefUndo
     DeleteTabUpdater aFunc(maCellTextAttrs, nDelPos, nSheets, nTab, bIsMove);
     sc::ProcessFormulaEditText(maCells, aFunc);
     if (aFunc.isModified())
-    {
-        RegroupFormulaCells();
         CellStorageModified();
-    }
 }
 
 void ScColumn::UpdateInsertTabAbs(SCTAB nNewPos)
@@ -2793,10 +2790,7 @@ void ScColumn::UpdateInsertTabAbs(SCTAB nNewPos)
     InsertAbsTabUpdater aFunc(maCellTextAttrs, nTab, nNewPos);
     sc::ProcessFormulaEditText(maCells, aFunc);
     if (aFunc.isModified())
-    {
-        RegroupFormulaCells();
         CellStorageModified();
-    }
 }
 
 void ScColumn::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo )
@@ -2807,10 +2801,7 @@ void ScColumn::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo )
     MoveTabUpdater aFunc(maCellTextAttrs, nTab, nOldPos, nNewPos);
     sc::ProcessFormulaEditText(maCells, aFunc);
     if (aFunc.isModified())
-    {
-        RegroupFormulaCells();
         CellStorageModified();
-    }
 }
 
 


More information about the Libreoffice-commits mailing list