summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-24 20:59:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-25 11:58:26 +0100
commitc797a11a4d7ca7531eeb7efd85670711a08f8b4b (patch)
treecf884e11e9c9b287e3c2bc9b684cdcaaea75055b /sc
parentd8093cd3bb4b0ccef1e8b14c26c1aa8cbc6789ba (diff)
callcatcher: remove freshly unused code
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/chartlis.hxx1
-rw-r--r--sc/source/core/tool/chartlis.cxx7
2 files changed, 0 insertions, 8 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx
index 2c7a0b707004..8ca27603b527 100644
--- a/sc/inc/chartlis.hxx
+++ b/sc/inc/chartlis.hxx
@@ -112,7 +112,6 @@ public:
void Update();
ScRangeListRef GetRangeList() const;
void SetRangeList( const ScRangeListRef& rNew );
- void SetRangeList( const ScRange& rNew );
bool IsUsed() const { return bUsed; }
void SetUsed( bool bFlg ) { bUsed = bFlg; }
bool IsDirty() const { return bDirty; }
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index c655eba3c881..d49fdebc089b 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -273,13 +273,6 @@ void ScChartListener::SetRangeList( const ScRangeListRef& rNew )
mpTokens->swap(aTokens);
}
-void ScChartListener::SetRangeList( const ScRange& rRange )
-{
- ScTokenRef pToken;
- ScRefTokenHelper::getTokenFromRange(pToken, rRange);
- mpTokens->push_back(pToken);
-}
-
namespace {
class StartEndListening : public unary_function<ScTokenRef, void>