diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:57:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:24:40 +0100 |
commit | 9d29f9913faaefe350d7e056330368b3dfa26d49 (patch) | |
tree | 5daa4993ba62911ee9c833e4dcc09556ec5fb612 /include/svl | |
parent | c35616dd73c8b05e422f3b561f21e21f5489d574 (diff) |
bool improvements
Change-Id: I6cf511b92383f3cd60923620518b9233b82850c0
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/filerec.hxx | 4 | ||||
-rw-r--r-- | include/svl/zformat.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx index b7aca769a8bf..c40dfde37225 100644 --- a/include/svl/filerec.hxx +++ b/include/svl/filerec.hxx @@ -245,7 +245,7 @@ protected: void Construct_Impl( SvStream *pStream, sal_uInt8 nTag ) { _pStream = pStream; - _bSkipped = sal_False; + _bSkipped = false; _nPreTag = nTag; } inline bool SetHeader_Impl( sal_uInt32 nHeader ); @@ -639,7 +639,7 @@ inline SfxMiniRecordReader::~SfxMiniRecordReader() inline void SfxMiniRecordReader::Skip() { _pStream->Seek(_nEofRec); - _bSkipped = sal_True; + _bSkipped = true; } /** Get the pre-tag of this record diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index 10ec8c639fb6..546be334590c 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -91,7 +91,7 @@ public: #endif SvNumberNatNum() : eLang( LANGUAGE_DONTKNOW ), nNum(0), - bDBNum(0), bDate(0), bSet(0) {} + bDBNum(false), bDate(false), bSet(false) {} bool IsComplete() const { return bSet && eLang != LANGUAGE_DONTKNOW; } sal_uInt8 GetRawNum() const { return nNum; } sal_uInt8 GetNatNum() const { return bDBNum ? MapDBNumToNatNum( nNum, eLang, bDate ) : nNum; } |