summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorFerran Vidal <vidalmarginet@hotmail.com>2012-04-23 11:24:34 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-04-23 11:24:34 +0530
commit5d5e02452fecc7400ebee3372dd9fb45dce179c7 (patch)
tree59b227efba1209fffbf2adbef6e1f50ae92d7402 /sc
parent7d65dd728ca2b7dea073ef085110dccdf22c2d5c (diff)
Remove unused code
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dbdata.hxx1
-rw-r--r--sc/source/core/tool/dbdata.cxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index 9dcd457b471d..f770deb35ed2 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -218,7 +218,6 @@ public:
void insert(ScDBData* p);
void erase(iterator itr);
bool empty() const;
- size_t size() const;
bool operator== (const AnonDBs& r) const;
};
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index 36d19143df6f..60e6d2859ec3 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -852,11 +852,6 @@ bool ScDBCollection::AnonDBs::empty() const
return maDBs.empty();
}
-size_t ScDBCollection::AnonDBs::size() const
-{
- return maDBs.size();
-}
-
bool ScDBCollection::AnonDBs::operator== (const AnonDBs& r) const
{
return maDBs == r.maDBs;