summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 11:03:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 12:03:50 +0200
commit2fffaf6f05d829e345ad8b391646a6e8df9a9a26 (patch)
treeec1b7343262433ee2ea9ab6e5197b6fd2327b685 /tools
parentf74da1315a5b2ec232a66944e41ff90231b383be (diff)
loplugin:unusedmethods
Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb Reviewed-on: https://gerrit.libreoffice.org/40391 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/memtools/unqidx.cxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/tools/source/memtools/unqidx.cxx b/tools/source/memtools/unqidx.cxx
index e42498867c84..06cda449a9c5 100644
--- a/tools/source/memtools/unqidx.cxx
+++ b/tools/source/memtools/unqidx.cxx
@@ -64,33 +64,6 @@ void* UniqueIndexImpl::Get( Index nIndex ) const
return nullptr;
}
-UniqueIndexImpl::Index UniqueIndexImpl::FirstIndex() const
-{
- if ( maMap.empty() )
- return IndexNotFound;
-
- return maMap.begin()->first;
-}
-
-UniqueIndexImpl::Index UniqueIndexImpl::LastIndex() const
-{
- if ( maMap.empty() )
- return IndexNotFound;
-
- return maMap.rbegin()->first;
-}
-
-UniqueIndexImpl::Index UniqueIndexImpl::NextIndex(Index aIndex) const
-{
- std::map<Index, void*>::const_iterator it = maMap.find( aIndex );
- if ( it == maMap.end() )
- return IndexNotFound;
- ++it;
- if ( it == maMap.end() )
- return IndexNotFound;
- return it->first;
-}
-
UniqueIndexImpl::Index UniqueIndexImpl::GetIndexOf(void const * p) const
{
for( std::map<Index, void*>::const_iterator it = maMap.begin(); it != maMap.end(); ++it )