diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 15:54:20 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 15:54:20 +0100 |
commit | 2da415ee45ff95e847275f6f39b808871f0afed9 (patch) | |
tree | a3d6cc0d8d1c4c0bf52358eb9204c4b085ff5a46 /lotuswordpro/source/filter/bento.hxx | |
parent | b32b45c50cc7b782554b0da722913f697434647d (diff) |
UtBool -> bool
Change-Id: I4cec5ba61762ac87d5bfb07b15ab661955e207ac
Diffstat (limited to 'lotuswordpro/source/filter/bento.hxx')
-rw-r--r-- | lotuswordpro/source/filter/bento.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx index 6b210fd91c5f..ac0a351ebbc6 100644 --- a/lotuswordpro/source/filter/bento.hxx +++ b/lotuswordpro/source/filter/bento.hxx @@ -252,7 +252,7 @@ class CBenObject : public CBenIDListElmt public: pCBenProperty UseProperty(BenObjectID PropertyID); pCBenValue UseValue(BenObjectID PropertyID); - virtual UtBool IsNamedObject(); + virtual bool IsNamedObject(); pLtcBenContainer GetContainer() { return cpContainer; } BenObjectID GetObjectID() { return GetID(); } public: // Internal methods @@ -354,24 +354,24 @@ class CBenValueSegment : public CUtListElmt public: // Internal methods CBenValueSegment(pCBenValue pValue, BenContainerPos Pos, unsigned long Size) : CUtListElmt(pValue->GetValueSegments()) - { cpValue = pValue; cImmediate = UT_FALSE; cPos = Pos; + { cpValue = pValue; cImmediate = false; cPos = Pos; cSize = Size; } CBenValueSegment(pCBenValue pValue, BenConstDataPtr pImmData, unsigned short Size) : CUtListElmt(pValue->GetValueSegments()) - { cpValue = pValue; cImmediate = UT_TRUE; + { cpValue = pValue; cImmediate = true; UtHugeMemcpy(cImmData, pImmData, Size); cSize = Size; } CBenValueSegment(BenContainerPos Pos, unsigned long Size) - { cpValue = NULL; cImmediate = UT_FALSE; cPos = Pos; + { cpValue = NULL; cImmediate = false; cPos = Pos; cSize = Size; } CBenValueSegment(BenConstDataPtr pImmData, unsigned short Size) - { cpValue = NULL; cImmediate = UT_TRUE; + { cpValue = NULL; cImmediate = true; UtHugeMemcpy(cImmData, pImmData, Size); cSize = Size; } - UtBool IsLast() + bool IsLast() { return cpValue == NULL || cpValue->GetValueSegments()->GetLast() == this; } - UtBool IsImmediate() { return cImmediate; } + bool IsImmediate() { return cImmediate; } BenContainerPos GetPosition() { return cPos; } unsigned long GetSize() { return cSize; } void SetSize(unsigned long Size) { cSize = Size; } @@ -379,7 +379,7 @@ public: // Internal methods private: // Data pCBenValue cpValue; - UtBool cImmediate; + bool cImmediate; union { BenContainerPos cPos; @@ -398,9 +398,9 @@ inline pLtcBenContainer CBenValue::GetContainer() class CBenNamedObject : public CBenObject { public: // Methods - virtual UtBool IsNamedObject(); - virtual UtBool IsPropertyName(); - virtual UtBool IsTypeName(); + virtual bool IsNamedObject(); + virtual bool IsPropertyName(); + virtual bool IsTypeName(); public: // Internal methods CBenNamedObject(pLtcBenContainer pContainer, BenObjectID ObjectID, @@ -431,7 +431,7 @@ public: // Internal methods pCBenNamedObjectListElmt pPrevNamedObjectListElmt) : CBenNamedObject(pContainer, ObjectID, pPrevObject, sName, pPrevNamedObjectListElmt) { ; } - virtual UtBool IsPropertyName(); + virtual bool IsPropertyName(); }; class CBenTypeName : public CBenNamedObject @@ -442,7 +442,7 @@ public: // Internal methods pCBenNamedObjectListElmt pPrevNamedObjectListElmt) : CBenNamedObject(pContainer, ObjectID, pPrevObject, sName, pPrevNamedObjectListElmt) { ; } - virtual UtBool IsTypeName(); + virtual bool IsTypeName(); }; |