Kaydet (Commit) 6dbd8a36 authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: I163bedc8f4e483f28233c54f2fa77c9bc5352a4f
üst ed5b2489
...@@ -48,9 +48,9 @@ public: ...@@ -48,9 +48,9 @@ public:
LotusRange( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE ); LotusRange( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE );
LotusRange( const LotusRange& ); LotusRange( const LotusRange& );
inline LotusRange &operator =( const LotusRange& ); inline LotusRange &operator =( const LotusRange& );
inline sal_Bool operator ==( const LotusRange& ) const; inline bool operator ==( const LotusRange& ) const;
inline sal_Bool operator !=( const LotusRange& ) const; inline bool operator !=( const LotusRange& ) const;
inline sal_Bool IsSingle( void ) const; inline bool IsSingle( void ) const;
}; };
...@@ -76,7 +76,7 @@ inline LotusRange &LotusRange::operator =( const LotusRange& rCpy ) ...@@ -76,7 +76,7 @@ inline LotusRange &LotusRange::operator =( const LotusRange& rCpy )
} }
inline sal_Bool LotusRange::operator ==( const LotusRange& rRef ) const inline bool LotusRange::operator ==( const LotusRange& rRef ) const
{ {
return ( nHash == rRef.nHash && nColStart == rRef.nColStart && return ( nHash == rRef.nHash && nColStart == rRef.nColStart &&
nRowStart == rRef.nRowStart && nColEnd == rRef.nColEnd && nRowStart == rRef.nRowStart && nColEnd == rRef.nColEnd &&
...@@ -84,7 +84,7 @@ inline sal_Bool LotusRange::operator ==( const LotusRange& rRef ) const ...@@ -84,7 +84,7 @@ inline sal_Bool LotusRange::operator ==( const LotusRange& rRef ) const
} }
inline sal_Bool LotusRange::operator !=( const LotusRange& rRef ) const inline bool LotusRange::operator !=( const LotusRange& rRef ) const
{ {
return ( nHash != rRef.nHash || nColStart != rRef.nColStart || return ( nHash != rRef.nHash || nColStart != rRef.nColStart ||
nRowStart != rRef.nRowStart || nColEnd != rRef.nColEnd || nRowStart != rRef.nRowStart || nColEnd != rRef.nColEnd ||
...@@ -92,7 +92,7 @@ inline sal_Bool LotusRange::operator !=( const LotusRange& rRef ) const ...@@ -92,7 +92,7 @@ inline sal_Bool LotusRange::operator !=( const LotusRange& rRef ) const
} }
inline sal_Bool LotusRange::IsSingle( void ) const inline bool LotusRange::IsSingle( void ) const
{ {
return ( nColStart == nColEnd && nRowStart == nRowEnd ); return ( nColStart == nColEnd && nRowStart == nRowEnd );
} }
......
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