summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/colorscale.hxx1
-rw-r--r--sc/source/core/data/colorscale.cxx10
2 files changed, 0 insertions, 11 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 067a5a59d0b0..c1257f942241 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -68,7 +68,6 @@ public:
void SetFormula(const OUString& rFormula, ScDocument* pDoc, const ScAddress& rAddr,
formula::FormulaGrammar::Grammar eGrammar = formula::FormulaGrammar::GRAM_DEFAULT);
- void UpdateMoveTab(SCTAB nOldTab, SCTAB nNewTab, SCTAB nTabNo);
void UpdateReference( sc::RefUpdateContext& rCxt );
void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt );
void UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt );
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 5481d993561a..7016c1638f2b 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -235,16 +235,6 @@ void ScColorScaleEntry::SetValue(double nValue)
mpCell.reset();
}
-void ScColorScaleEntry::UpdateMoveTab( SCTAB nOldTab, SCTAB nNewTab, SCTAB nTabNo )
-{
- if(mpCell)
- {
- sc::RefUpdateMoveTabContext aCxt(nOldTab, nNewTab);
- mpCell->UpdateMoveTab(aCxt, nTabNo);
- mpListener.reset(new ScFormulaListener(mpCell.get()));
- }
-}
-
void ScColorScaleEntry::UpdateReference( sc::RefUpdateContext& rCxt )
{
if (!mpCell)