diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-22 14:14:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-23 11:11:50 +0200 |
commit | 2692047aacef7b4288f995ce6ff2db5e16b71014 (patch) | |
tree | 2d43552ad1a01cfb6287d54f35b5ae3ca538393b /lotuswordpro/source/filter/lwpobjid.hxx | |
parent | ca56379f27c53d4fa015d7adbb9494186f506de6 (diff) |
lotuswordpro: sal_Bool->bool
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjid.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpobjid.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lotuswordpro/source/filter/lwpobjid.hxx b/lotuswordpro/source/filter/lwpobjid.hxx index 7059ac9db096..35499b445333 100644 --- a/lotuswordpro/source/filter/lwpobjid.hxx +++ b/lotuswordpro/source/filter/lwpobjid.hxx @@ -82,7 +82,7 @@ private: sal_uInt32 m_nLow; sal_uInt16 m_nHigh; sal_uInt8 m_nIndex; - sal_Bool m_bIsCompressed; + bool m_bIsCompressed; public: sal_uInt32 Read( LwpSvStream *pStrm ); sal_uInt32 Read( LwpObjectStream *pStrm ); @@ -92,36 +92,36 @@ public: sal_uInt32 DiskSize() const; sal_uInt32 DiskSizeIndexed() const; - sal_Bool IsNull() const; - sal_Bool IsCompressed(); + bool IsNull() const; + bool IsCompressed(); sal_uInt32 GetLow() const ; sal_uInt16 GetHigh() const ; void SetLow(sal_uInt32 nl); void SetHigh(sal_uInt16 nh); - sal_Bool operator == (const LwpObjectID &Other) const; - sal_Bool operator != (const LwpObjectID &Other) const; + bool operator == (const LwpObjectID &Other) const; + bool operator != (const LwpObjectID &Other) const; LwpObject* obj(VO_TYPE tag=VO_INVALID) const; size_t HashCode() const; }; -inline sal_Bool LwpObjectID::IsNull() const +inline bool LwpObjectID::IsNull() const { return (m_nLow == 0) && (m_nHigh == 0); } -inline sal_Bool LwpObjectID::operator == (const LwpObjectID &Other) const +inline bool LwpObjectID::operator == (const LwpObjectID &Other) const { return (m_nHigh == Other.m_nHigh) && (m_nLow == Other.m_nLow); } -inline sal_Bool LwpObjectID::operator != (const LwpObjectID &Other) const +inline bool LwpObjectID::operator != (const LwpObjectID &Other) const { return (m_nHigh != Other.m_nHigh) || (m_nLow != Other.m_nLow); } -inline sal_Bool LwpObjectID::IsCompressed() +inline bool LwpObjectID::IsCompressed() { return m_bIsCompressed; } |