diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-18 16:35:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-24 08:27:56 +0000 |
commit | 3caf31b05d7bbf3d50a1bbda6c8b95982cb5c2b5 (patch) | |
tree | b281c279936763f21a9f07047246dfdc72e8d4fe /sc/source/core/data/colorscale.cxx | |
parent | 2c8e66129f14c6d0b9174d27546e233b3995d8d4 (diff) |
loplugin:unusedmethods in sc
Change-Id: Ic378126a30be853d10fe174c451cee3c6ded404f
Reviewed-on: https://gerrit.libreoffice.org/25109
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/core/data/colorscale.cxx')
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 0ef57f5990c4..1a088851aa4f 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -91,12 +91,6 @@ void ScFormulaListener::startListening(ScTokenArray* pArr, const ScRange& rRange } } -void ScFormulaListener::resetTokenArray(ScTokenArray* pArray, const ScRange& rRange) -{ - stopListening(); - startListening(pArray, rRange); -} - void ScFormulaListener::addTokenArray(ScTokenArray* pArray, const ScRange& rRange) { startListening(pArray, rRange); @@ -595,18 +589,6 @@ void ScColorScaleFormat::UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt ) (*it)->UpdateMoveTab(rCxt); } -bool ScColorScaleFormat::NeedsRepaint() const -{ - for(ScColorScaleEntries::const_iterator itr = begin(), itrEnd = end(); - itr != itrEnd; ++itr) - { - if((*itr)->NeedsRepaint()) - return true; - } - return false; -} - - condformat::ScFormatEntryType ScColorScaleFormat::GetType() const { return condformat::COLORSCALE; @@ -721,12 +703,6 @@ void ScDataBarFormat::UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt ) mpFormatData->mpLowerLimit->UpdateMoveTab(rCxt); } -bool ScDataBarFormat::NeedsRepaint() const -{ - return mpFormatData->mpUpperLimit->NeedsRepaint() || - mpFormatData->mpLowerLimit->NeedsRepaint(); -} - double ScDataBarFormat::getMin(double nMin, double nMax) const { switch(mpFormatData->mpLowerLimit->GetType()) @@ -1059,17 +1035,6 @@ void ScIconSetFormat::UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt ) } } -bool ScIconSetFormat::NeedsRepaint() const -{ - for(const_iterator itr = begin(); itr != end(); ++itr) - { - if ((*itr)->NeedsRepaint()) - return true; - } - - return false; -} - ScIconSetFormat::iterator ScIconSetFormat::begin() { return mpFormatData->m_Entries.begin(); |