diff options
Diffstat (limited to 'sw/inc/index.hxx')
-rw-r--r-- | sw/inc/index.hxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx index a1400553c73e..fecfa983b6b9 100644 --- a/sw/inc/index.hxx +++ b/sw/inc/index.hxx @@ -63,13 +63,10 @@ public: sal_Int32 operator++(); sal_Int32 operator--(); - sal_Int32 operator++(int); sal_Int32 operator--(int); sal_Int32 operator+=( sal_Int32 const ); sal_Int32 operator-=( sal_Int32 const ); - sal_Int32 operator+=( const SwIndex& ); - sal_Int32 operator-=( const SwIndex& ); bool operator< ( const SwIndex& ) const; bool operator<=( const SwIndex& ) const; @@ -144,13 +141,6 @@ inline sal_Int32 SwIndex::operator--() return ChgValue( *this, m_nIndex-1 ).m_nIndex; } -inline sal_Int32 SwIndex::operator++(int) -{ - sal_Int32 const nOldIndex = m_nIndex; - ChgValue( *this, m_nIndex+1 ); - return nOldIndex; -} - inline sal_Int32 SwIndex::operator--(int) { sal_Int32 const nOldIndex = m_nIndex; @@ -168,16 +158,6 @@ inline sal_Int32 SwIndex::operator-=( sal_Int32 const nVal ) return ChgValue( *this, m_nIndex - nVal ).m_nIndex; } -inline sal_Int32 SwIndex::operator+=( const SwIndex& rIndex ) -{ - return ChgValue( *this, m_nIndex + rIndex.m_nIndex ).m_nIndex; -} - -inline sal_Int32 SwIndex::operator-=( const SwIndex& rIndex ) -{ - return ChgValue( *this, m_nIndex - rIndex.m_nIndex ).m_nIndex; -} - inline bool SwIndex::operator< ( const SwIndex& rIndex ) const { return m_nIndex < rIndex.m_nIndex; |