Kaydet (Commit) c59e5179 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

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
üst 508f3d47
...@@ -2791,10 +2791,7 @@ void ScColumn::UpdateDeleteTab(SCTAB nDelPos, bool bIsMove, ScColumn* /*pRefUndo ...@@ -2791,10 +2791,7 @@ void ScColumn::UpdateDeleteTab(SCTAB nDelPos, bool bIsMove, ScColumn* /*pRefUndo
DeleteTabUpdater aFunc(maCellTextAttrs, nDelPos, nSheets, nTab, bIsMove); DeleteTabUpdater aFunc(maCellTextAttrs, nDelPos, nSheets, nTab, bIsMove);
sc::ProcessFormulaEditText(maCells, aFunc); sc::ProcessFormulaEditText(maCells, aFunc);
if (aFunc.isModified()) if (aFunc.isModified())
{
RegroupFormulaCells();
CellStorageModified(); CellStorageModified();
}
} }
void ScColumn::UpdateInsertTabAbs(SCTAB nNewPos) void ScColumn::UpdateInsertTabAbs(SCTAB nNewPos)
...@@ -2802,10 +2799,7 @@ void ScColumn::UpdateInsertTabAbs(SCTAB nNewPos) ...@@ -2802,10 +2799,7 @@ void ScColumn::UpdateInsertTabAbs(SCTAB nNewPos)
InsertAbsTabUpdater aFunc(maCellTextAttrs, nTab, nNewPos); InsertAbsTabUpdater aFunc(maCellTextAttrs, nTab, nNewPos);
sc::ProcessFormulaEditText(maCells, aFunc); sc::ProcessFormulaEditText(maCells, aFunc);
if (aFunc.isModified()) if (aFunc.isModified())
{
RegroupFormulaCells();
CellStorageModified(); CellStorageModified();
}
} }
void ScColumn::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo ) void ScColumn::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo )
...@@ -2816,10 +2810,7 @@ void ScColumn::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo ) ...@@ -2816,10 +2810,7 @@ void ScColumn::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo )
MoveTabUpdater aFunc(maCellTextAttrs, nTab, nOldPos, nNewPos); MoveTabUpdater aFunc(maCellTextAttrs, nTab, nOldPos, nNewPos);
sc::ProcessFormulaEditText(maCells, aFunc); sc::ProcessFormulaEditText(maCells, aFunc);
if (aFunc.isModified()) if (aFunc.isModified())
{
RegroupFormulaCells();
CellStorageModified(); CellStorageModified();
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment