From 74713b34a36577f19eb3194246de73fa4f2bb741 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 May 2016 09:05:21 +0200 Subject: loplugin:unusedmethods Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/core/data/colorscale.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sc/source/core/data/colorscale.cxx') diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 1a088851aa4f..72c016ce421b 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -276,14 +276,6 @@ void ScColorScaleEntry::UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt ) mpListener.reset(new ScFormulaListener(mpCell.get())); } -bool ScColorScaleEntry::NeedsRepaint() const -{ - if(mpListener) - return mpListener->NeedsRepaint(); - - return false; -} - void ScColorScaleEntry::SetColor(const Color& rColor) { maColor = rColor; -- cgit