diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-25 22:35:47 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 23:49:55 -0400 |
commit | 8eb6de29009d009b8fa61fa8bb0e3bc60c7bfdf9 (patch) | |
tree | 1b8d4e518a0743fd8f7cf0db9511adaf9146d779 /sc/source/core/data/conditio.cxx | |
parent | df30ebee34f4af6a0dfe03a51cae530f59ffa1cf (diff) |
Make this guy unused, and remove it.
Change-Id: Ib4a2f195b3ff1d291b0ffe99c27b1d3e807252d5
Diffstat (limited to 'sc/source/core/data/conditio.cxx')
-rw-r--r-- | sc/source/core/data/conditio.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index 7419f15a07d1..a3702c5e1150 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -544,12 +544,12 @@ void ScConditionEntry::UpdateReference( UpdateRefMode eUpdateRefMode, lcl_CondUpdateInsertTab( *pFormula1, rRange.aStart.Tab(), bChanged1, nDz ); else { - ScCompiler aComp( mpDoc, aSrcPos, *pFormula1 ); - aComp.SetGrammar(mpDoc->GetGrammar()); if ( bDeleteTab ) - aComp.UpdateDeleteTab( rRange.aStart.Tab(), false, true, bChanged1, static_cast<SCTAB>(-1 * nDz) ); + pFormula1->AdjustReferenceOnDeletedTab(rRange.aStart.Tab(), static_cast<SCTAB>(-1*nDz), aSrcPos); else { + ScCompiler aComp( mpDoc, aSrcPos, *pFormula1 ); + aComp.SetGrammar(mpDoc->GetGrammar()); bool bSizeChanged; aComp.UpdateReference( eUpdateRefMode, aOldSrcPos, rRange, nDx, nDy, nDz, bChanged1, bSizeChanged ); @@ -566,12 +566,12 @@ void ScConditionEntry::UpdateReference( UpdateRefMode eUpdateRefMode, lcl_CondUpdateInsertTab( *pFormula2, rRange.aStart.Tab(), bChanged2, nDz ); else { - ScCompiler aComp( mpDoc, aSrcPos, *pFormula2); - aComp.SetGrammar(mpDoc->GetGrammar()); if ( bDeleteTab ) - aComp.UpdateDeleteTab( rRange.aStart.Tab(), false, true, bChanged2, static_cast<SCTAB>(-1*nDz) ); + pFormula2->AdjustReferenceOnDeletedTab(rRange.aStart.Tab(), static_cast<SCTAB>(-1*nDz), aSrcPos); else { + ScCompiler aComp( mpDoc, aSrcPos, *pFormula2); + aComp.SetGrammar(mpDoc->GetGrammar()); bool bSizeChanged; aComp.UpdateReference( eUpdateRefMode, aOldSrcPos, rRange, nDx, nDy, nDz, bChanged2, bSizeChanged ); |