summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-13 11:20:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 10:15:06 +0100
commit9e30ced3c372c01b4a2bfb10abc42fd77f9a0fdf (patch)
tree0fffe4f5242d56973eaebe8a95629b3a85f10819
parent1eab4c942a73e0d5b2afc06e5b49023673ce6d12 (diff)
-Werror,-Wunused-member-function
Change-Id: Idbc13f395b8e23e876d0e954810f3a91b2399748
-rw-r--r--sc/source/core/tool/rangenam.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx
index c1e28652d2b4..6130c614a138 100644
--- a/sc/source/core/tool/rangenam.cxx
+++ b/sc/source/core/tool/rangenam.cxx
@@ -670,17 +670,6 @@ public:
}
};
-class MatchByIndex : public unary_function<ScRangeData, bool>
-{
- sal_uInt16 mnIndex;
-public:
- MatchByIndex(sal_uInt16 nIndex) : mnIndex(nIndex) {}
- bool operator() (const ScRangeData& r) const
- {
- return mnIndex == r.GetIndex();
- }
-};
-
}
ScRangeName::ScRangeName() {}