diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-25 14:00:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:44:42 +0200 |
commit | 6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch) | |
tree | 04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/ndindex.hxx | |
parent | 1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff) |
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/ndindex.hxx')
-rw-r--r-- | sw/inc/ndindex.hxx | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx index 575a3ee6a987..028ce54db912 100644 --- a/sw/inc/ndindex.hxx +++ b/sw/inc/ndindex.hxx @@ -33,7 +33,7 @@ class SW_DLLPUBLIC SwNodeIndex { friend void SwNodes::RegisterIndex( SwNodeIndex& ); friend void SwNodes::DeRegisterIndex( SwNodeIndex& ); - friend void SwNodes::RemoveNode( sal_uLong, sal_uLong, sal_Bool ); + friend void SwNodes::RemoveNode( sal_uLong, sal_uLong, bool ); SwNode* pNd; SwNodeIndex *pNext, *pPrev; @@ -60,19 +60,19 @@ public: inline sal_uLong operator+=( const SwNodeIndex& ); inline sal_uLong operator-=( const SwNodeIndex& ); - inline sal_Bool operator< ( const SwNodeIndex& ) const; - inline sal_Bool operator<=( const SwNodeIndex& ) const; - inline sal_Bool operator> ( const SwNodeIndex& ) const; - inline sal_Bool operator>=( const SwNodeIndex& ) const; - inline sal_Bool operator==( const SwNodeIndex& ) const; - inline sal_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>=( const SwNodeIndex& ) const; + inline bool operator==( const SwNodeIndex& ) const; + inline bool operator!=( const SwNodeIndex& ) const; - inline sal_Bool operator< ( sal_uLong nWert ) const; - inline sal_Bool operator<=( sal_uLong nWert ) const; - inline sal_Bool operator> ( sal_uLong nWert ) const; - inline sal_Bool operator>=( sal_uLong nWert ) const; - inline sal_Bool operator==( sal_uLong nWert ) const; - inline sal_Bool operator!=( sal_uLong nWert ) const; + inline bool operator< ( sal_uLong nWert ) const; + inline bool operator<=( sal_uLong nWert ) const; + inline bool operator> ( sal_uLong nWert ) const; + inline bool operator>=( sal_uLong nWert ) const; + inline bool operator==( sal_uLong nWert ) const; + inline bool operator!=( sal_uLong nWert ) const; inline SwNodeIndex& operator=( sal_uLong ); SwNodeIndex& operator=( const SwNodeIndex& ); @@ -125,51 +125,51 @@ inline SwNodes& SwNodeIndex::GetNodes() { return pNd->GetNodes(); } -inline sal_Bool SwNodeIndex::operator< ( sal_uLong nWert ) const +inline bool SwNodeIndex::operator< ( sal_uLong nWert ) const { return pNd->GetIndex() < nWert; } -inline sal_Bool SwNodeIndex::operator<=( sal_uLong nWert ) const +inline bool SwNodeIndex::operator<=( sal_uLong nWert ) const { return pNd->GetIndex() <= nWert; } -inline sal_Bool SwNodeIndex::operator> ( sal_uLong nWert ) const +inline bool SwNodeIndex::operator> ( sal_uLong nWert ) const { return pNd->GetIndex() > nWert; } -inline sal_Bool SwNodeIndex::operator>=( sal_uLong nWert ) const +inline bool SwNodeIndex::operator>=( sal_uLong nWert ) const { return pNd->GetIndex() >= nWert; } -inline sal_Bool SwNodeIndex::operator==( sal_uLong nWert ) const +inline bool SwNodeIndex::operator==( sal_uLong nWert ) const { return pNd->GetIndex() == nWert; } -inline sal_Bool SwNodeIndex::operator!=( sal_uLong nWert ) const +inline bool SwNodeIndex::operator!=( sal_uLong nWert ) const { return pNd->GetIndex() != nWert; } -inline sal_Bool SwNodeIndex::operator<( const SwNodeIndex& rIndex ) const +inline bool SwNodeIndex::operator<( const SwNodeIndex& rIndex ) const { return pNd->GetIndex() < rIndex.GetIndex(); } -inline sal_Bool SwNodeIndex::operator<=( const SwNodeIndex& rIndex ) const +inline bool SwNodeIndex::operator<=( const SwNodeIndex& rIndex ) const { return pNd->GetIndex() <= rIndex.GetIndex(); } -inline sal_Bool SwNodeIndex::operator>( const SwNodeIndex& rIndex ) const +inline bool SwNodeIndex::operator>( const SwNodeIndex& rIndex ) const { return pNd->GetIndex() > rIndex.GetIndex(); } -inline sal_Bool SwNodeIndex::operator>=( const SwNodeIndex& rIndex ) const +inline bool SwNodeIndex::operator>=( const SwNodeIndex& rIndex ) const { return pNd->GetIndex() >= rIndex.GetIndex(); } -inline sal_Bool SwNodeIndex::operator==( const SwNodeIndex& rIdx ) const +inline bool SwNodeIndex::operator==( const SwNodeIndex& rIdx ) const { return pNd == rIdx.pNd; } -inline sal_Bool SwNodeIndex::operator!=( const SwNodeIndex& rIdx ) const +inline bool SwNodeIndex::operator!=( const SwNodeIndex& rIdx ) const { return pNd != rIdx.pNd; } |