diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-25 22:45:15 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 23:49:55 -0400 |
commit | bb93f79249ac64bbd6d7a28d5bced7f02e1936ef (patch) | |
tree | d940253125e99f0604eb740c05f3d5e696eb0604 /sc/source/core/data | |
parent | 8eb6de29009d009b8fa61fa8bb0e3bc60c7bfdf9 (diff) |
More on removing unused methods after some adjustments.
Change-Id: Ib8322228f25094c7c90a6623293e61f56b66b659
Diffstat (limited to 'sc/source/core/data')
-rw-r--r-- | sc/source/core/data/conditio.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index a3702c5e1150..3d60b0b91d0a 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -587,16 +587,13 @@ void ScConditionEntry::UpdateMoveTab( SCTAB nOldPos, SCTAB nNewPos ) { if (pFormula1) { - ScCompiler aComp( mpDoc, aSrcPos, *pFormula1); - aComp.SetGrammar(mpDoc->GetGrammar()); - aComp.UpdateMoveTab(nOldPos, nNewPos, true ); + pFormula1->AdjustReferenceOnMovedTab(nOldPos, nNewPos, aSrcPos); DELETEZ(pFCell1); } + if (pFormula2) { - ScCompiler aComp( mpDoc, aSrcPos, *pFormula2); - aComp.SetGrammar(mpDoc->GetGrammar()); - aComp.UpdateMoveTab(nOldPos, nNewPos, true ); + pFormula2->AdjustReferenceOnMovedTab(nOldPos, nNewPos, aSrcPos); DELETEZ(pFCell2); } } |