summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-12 15:32:20 +0200
committerNoel Grandin <noel@peralex.com>2014-02-14 14:15:12 +0200
commit28b3ae18151529d79531e029835b8c7bdeee5787 (patch)
tree9d5abef12484002da4e35634d01fcef402a94ef3
parent9eb55c2b32ecfa04ced90105bf43e5d1e9fc609c (diff)
sal_Bool->bool
Change-Id: I7245861259a620bb273d88721eeed1090d69d622
-rw-r--r--sc/source/filter/excel/tokstack.cxx2
-rw-r--r--sc/source/filter/inc/tokstack.hxx14
2 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx
index aec31a924b42..1dbd49c9adfe 100644
--- a/sc/source/filter/excel/tokstack.cxx
+++ b/sc/source/filter/excel/tokstack.cxx
@@ -919,7 +919,7 @@ void TokenPool::Reset( void )
}
-sal_Bool TokenPool::IsSingleOp( const TokenId& rId, const DefTokenId eId ) const
+bool TokenPool::IsSingleOp( const TokenId& rId, const DefTokenId eId ) const
{
sal_uInt16 nId = (sal_uInt16) rId;
if( nId && nId <= nElementAkt )
diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx
index fd1f03192273..61a5df570d21 100644
--- a/sc/source/filter/inc/tokstack.hxx
+++ b/sc/source/filter/inc/tokstack.hxx
@@ -41,12 +41,12 @@ struct TokenId
inline TokenId& operator =( sal_uInt16 n ) { nId = n; return *this; }
inline operator sal_uInt16&() { return nId; }
inline operator const sal_uInt16&() const { return nId; }
- inline sal_Bool operator <( sal_uInt16 n ) const { return nId < n; }
- inline sal_Bool operator >( sal_uInt16 n ) const { return nId > n; }
- inline sal_Bool operator <=( sal_uInt16 n ) const { return nId <= n; }
- inline sal_Bool operator >=( sal_uInt16 n ) const { return nId >= n; }
- inline sal_Bool operator ==( sal_uInt16 n ) const { return nId == n; }
- inline sal_Bool operator !=( sal_uInt16 n ) const { return nId != n; }
+ inline bool operator <( sal_uInt16 n ) const { return nId < n; }
+ inline bool operator >( sal_uInt16 n ) const { return nId > n; }
+ inline bool operator <=( sal_uInt16 n ) const { return nId <= n; }
+ inline bool operator >=( sal_uInt16 n ) const { return nId >= n; }
+ inline bool operator ==( sal_uInt16 n ) const { return nId == n; }
+ inline bool operator !=( sal_uInt16 n ) const { return nId != n; }
};
@@ -217,7 +217,7 @@ class TokenPool
inline const ScTokenArray* operator []( const TokenId nId );
void Reset( void );
inline E_TYPE GetType( const TokenId& nId ) const;
- sal_Bool IsSingleOp( const TokenId& nId, const DefTokenId eId ) const;
+ bool IsSingleOp( const TokenId& nId, const DefTokenId eId ) const;
const OUString* GetExternal( const TokenId& nId ) const;
ScMatrix* GetMatrix( unsigned int n ) const;
};