summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-02 16:15:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-08 06:08:14 +0000
commitb14224fe97b8a44232c9c1401d3a49771f46582e (patch)
tree8f9cf31cf4b51a0edbb43022499a6acd17d0945d /ucb
parentc474e610e453d0f38f7cc6cb9559ad7e7b5d69ca (diff)
loplugin:unusedmethods
using an idea from dtardon: <dtardon> noelgrandin, hi. could you try to run the unusedmethods clang plugin with "make build-nocheck"? that would catch functions that are only used in tests. e.g., i just removed the whole o3tl::range class, which has not been used in many years, but htere was a test for it... <noelgrandin> dtardon, interesting idea! Sure, I can do that. Change-Id: I5653953a426a2186a1e43017212d87ffce520387 Reviewed-on: https://gerrit.libreoffice.org/22041 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/inc/regexpmap.hxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx
index 389b8fe1fcbc..279c677743e8 100644
--- a/ucb/source/inc/regexpmap.hxx
+++ b/ucb/source/inc/regexpmap.hxx
@@ -266,8 +266,6 @@ public:
RegexpMapConstIter & operator ++();
- RegexpMapConstIter operator ++(int);
-
RegexpMapEntry< Val > const * operator ->() const;
bool equals(RegexpMapConstIter const & rOther) const;
@@ -318,14 +316,6 @@ RegexpMapConstIter< Val > & RegexpMapConstIter< Val >::operator ++()
}
template< typename Val >
-RegexpMapConstIter< Val > RegexpMapConstIter< Val >::operator ++(int)
-{
- RegexpMapConstIter aTemp(*this);
- m_pImpl->next();
- return aTemp;
-}
-
-template< typename Val >
RegexpMapEntry< Val > const * RegexpMapConstIter< Val >::operator ->() const
{
return &m_pImpl->get();
@@ -347,10 +337,6 @@ class RegexpMapIter: public RegexpMapConstIter< Val >
public:
RegexpMapIter() {}
- RegexpMapIter & operator ++();
-
- RegexpMapIter operator ++(int);
-
RegexpMapEntry< Val > * operator ->();
RegexpMapEntry< Val > const * operator ->() const;
@@ -365,21 +351,6 @@ RegexpMapIter< Val >::RegexpMapIter(RegexpMapIterImpl< Val > * pTheImpl):
{}
template< typename Val >
-RegexpMapIter< Val > & RegexpMapIter< Val >::operator ++()
-{
- this->m_pImpl->next();
- return *this;
-}
-
-template< typename Val >
-RegexpMapIter< Val > RegexpMapIter< Val >::operator ++(int)
-{
- RegexpMapIter aTemp(*this);
- this->m_pImpl->next();
- return aTemp;
-}
-
-template< typename Val >
RegexpMapEntry< Val > * RegexpMapIter< Val >::operator ->()
{
return &this->m_pImpl->get();