summaryrefslogtreecommitdiff
path: root/sw/inc/ndindex.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-19 09:40:25 +0200
committerNoel Grandin <noel@peralex.com>2016-01-19 11:01:56 +0200
commit5fe99ea3ee7b33a80f1419f2a4c9c1ea56dd00ee (patch)
tree0afae9735b407fe08421d19d702708a28f1e97c3 /sw/inc/ndindex.hxx
parent39969defa29948d77565a7cd8a3471baaec8f35d (diff)
loplugin:unusedmethods in sw/
Change-Id: Id452bfac5c83f130a138e06984a0c79c37af70ac
Diffstat (limited to 'sw/inc/ndindex.hxx')
-rw-r--r--sw/inc/ndindex.hxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx
index 9f658b4c9c46..f9e51d8f4dbc 100644
--- a/sw/inc/ndindex.hxx
+++ b/sw/inc/ndindex.hxx
@@ -89,8 +89,6 @@ public:
inline sal_uLong operator+=( sal_uLong );
inline sal_uLong operator-=( sal_uLong );
- inline sal_uLong operator+=( const SwNodeIndex& );
- inline sal_uLong operator-=( const SwNodeIndex& );
inline bool operator< ( const SwNodeIndex& ) const;
inline bool operator<=( const SwNodeIndex& ) const;
@@ -248,16 +246,6 @@ inline sal_uLong SwNodeIndex::operator-=( sal_uLong const nOffset )
m_pNode = GetNodes()[ m_pNode->GetIndex() - nOffset ];
return m_pNode->GetIndex();
}
-inline sal_uLong SwNodeIndex::operator+=( const SwNodeIndex& rIndex )
-{
- m_pNode = GetNodes()[ m_pNode->GetIndex() + rIndex.GetIndex() ];
- return m_pNode->GetIndex();
-}
-inline sal_uLong SwNodeIndex::operator-=( const SwNodeIndex& rIndex )
-{
- m_pNode = GetNodes()[ m_pNode->GetIndex() - rIndex.GetIndex() ];
- return m_pNode->GetIndex();
-}
inline SwNodeIndex& SwNodeIndex::operator=( sal_uLong const nNew )
{