Kaydet (Commit) 042dd163 authored tarafından Michael Stahl's avatar Michael Stahl

sw: translate that

Change-Id: I08d8941a4c78b5e3307976476fc5c8762732a15c
üst ea7d6dc6
...@@ -99,12 +99,12 @@ public: ...@@ -99,12 +99,12 @@ public:
inline bool operator==( const SwNodeIndex& ) const; inline bool operator==( const SwNodeIndex& ) const;
inline bool operator!=( const SwNodeIndex& ) const; inline bool operator!=( const SwNodeIndex& ) const;
inline bool operator< ( sal_uLong nWert ) const; inline bool operator< ( sal_uLong ) const;
inline bool operator<=( sal_uLong nWert ) const; inline bool operator<=( sal_uLong ) const;
inline bool operator> ( sal_uLong nWert ) const; inline bool operator> ( sal_uLong ) const;
inline bool operator>=( sal_uLong nWert ) const; inline bool operator>=( sal_uLong ) const;
inline bool operator==( sal_uLong nWert ) const; inline bool operator==( sal_uLong ) const;
inline bool operator!=( sal_uLong nWert ) const; inline bool operator!=( sal_uLong ) const;
inline SwNodeIndex& operator=( sal_uLong ); inline SwNodeIndex& operator=( sal_uLong );
inline SwNodeIndex& operator=( const SwNodeIndex& ); inline SwNodeIndex& operator=( const SwNodeIndex& );
...@@ -166,29 +166,29 @@ inline SwNodes& SwNodeIndex::GetNodes() ...@@ -166,29 +166,29 @@ inline SwNodes& SwNodeIndex::GetNodes()
{ {
return m_pNode->GetNodes(); return m_pNode->GetNodes();
} }
inline bool SwNodeIndex::operator< ( sal_uLong nWert ) const inline bool SwNodeIndex::operator< ( sal_uLong const nOther ) const
{ {
return m_pNode->GetIndex() < nWert; return m_pNode->GetIndex() < nOther;
} }
inline bool SwNodeIndex::operator<=( sal_uLong nWert ) const inline bool SwNodeIndex::operator<=( sal_uLong const nOther ) const
{ {
return m_pNode->GetIndex() <= nWert; return m_pNode->GetIndex() <= nOther;
} }
inline bool SwNodeIndex::operator> ( sal_uLong nWert ) const inline bool SwNodeIndex::operator> ( sal_uLong const nOther ) const
{ {
return m_pNode->GetIndex() > nWert; return m_pNode->GetIndex() > nOther;
} }
inline bool SwNodeIndex::operator>=( sal_uLong nWert ) const inline bool SwNodeIndex::operator>=( sal_uLong const nOther ) const
{ {
return m_pNode->GetIndex() >= nWert; return m_pNode->GetIndex() >= nOther;
} }
inline bool SwNodeIndex::operator==( sal_uLong nWert ) const inline bool SwNodeIndex::operator==( sal_uLong const nOther ) const
{ {
return m_pNode->GetIndex() == nWert; return m_pNode->GetIndex() == nOther;
} }
inline bool SwNodeIndex::operator!=( sal_uLong nWert ) const inline bool SwNodeIndex::operator!=( sal_uLong const nOther ) const
{ {
return m_pNode->GetIndex() != nWert; return m_pNode->GetIndex() != nOther;
} }
inline bool SwNodeIndex::operator<( const SwNodeIndex& rIndex ) const inline bool SwNodeIndex::operator<( const SwNodeIndex& rIndex ) const
{ {
...@@ -238,14 +238,14 @@ inline sal_uLong SwNodeIndex::operator--(int) ...@@ -238,14 +238,14 @@ inline sal_uLong SwNodeIndex::operator--(int)
return nOldIndex; return nOldIndex;
} }
inline sal_uLong SwNodeIndex::operator+=( sal_uLong nWert ) inline sal_uLong SwNodeIndex::operator+=( sal_uLong const nOffset )
{ {
m_pNode = GetNodes()[ m_pNode->GetIndex() + nWert ]; m_pNode = GetNodes()[ m_pNode->GetIndex() + nOffset ];
return m_pNode->GetIndex(); return m_pNode->GetIndex();
} }
inline sal_uLong SwNodeIndex::operator-=( sal_uLong nWert ) inline sal_uLong SwNodeIndex::operator-=( sal_uLong const nOffset )
{ {
m_pNode = GetNodes()[ m_pNode->GetIndex() - nWert ]; m_pNode = GetNodes()[ m_pNode->GetIndex() - nOffset ];
return m_pNode->GetIndex(); return m_pNode->GetIndex();
} }
inline sal_uLong SwNodeIndex::operator+=( const SwNodeIndex& rIndex ) inline sal_uLong SwNodeIndex::operator+=( const SwNodeIndex& rIndex )
...@@ -259,9 +259,9 @@ inline sal_uLong SwNodeIndex::operator-=( const SwNodeIndex& rIndex ) ...@@ -259,9 +259,9 @@ inline sal_uLong SwNodeIndex::operator-=( const SwNodeIndex& rIndex )
return m_pNode->GetIndex(); return m_pNode->GetIndex();
} }
inline SwNodeIndex& SwNodeIndex::operator=( sal_uLong nWert ) inline SwNodeIndex& SwNodeIndex::operator=( sal_uLong const nNew )
{ {
m_pNode = GetNodes()[ nWert ]; m_pNode = GetNodes()[ nNew ];
return *this; return *this;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment