diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-26 13:25:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-27 10:27:32 +0200 |
commit | 6374c59217325721dc2c091338e665a238b7ace3 (patch) | |
tree | eec2c657dc4f503e9e1f87dc1987f2d915e52f3d /sc | |
parent | 2d257fa7781fff9c56a4cd55b26c3ef7e813c84e (diff) |
remove unused code ScColorScaleEntry::UpdateMoveTab(short, short, short)
Change-Id: I32437bb06dc5fd1522361d9591f470d00bb96d77
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/colorscale.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 10 |
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) |