| Index: xfa/fxfa/parser/cxfa_arraynodelist.cpp
|
| diff --git a/xfa/fxfa/parser/cxfa_arraynodelist.cpp b/xfa/fxfa/parser/cxfa_arraynodelist.cpp
|
| index 06aab400f11320c796cd57c925c6ab0ad5a557c6..8c9040a12140d5542c277d52606ea95171f35e2f 100644
|
| --- a/xfa/fxfa/parser/cxfa_arraynodelist.cpp
|
| +++ b/xfa/fxfa/parser/cxfa_arraynodelist.cpp
|
| @@ -21,13 +21,12 @@ int32_t CXFA_ArrayNodeList::GetLength() {
|
| return m_array.GetSize();
|
| }
|
|
|
| -FX_BOOL CXFA_ArrayNodeList::Append(CXFA_Node* pNode) {
|
| +bool CXFA_ArrayNodeList::Append(CXFA_Node* pNode) {
|
| m_array.Add(pNode);
|
| - return TRUE;
|
| + return true;
|
| }
|
|
|
| -FX_BOOL CXFA_ArrayNodeList::Insert(CXFA_Node* pNewNode,
|
| - CXFA_Node* pBeforeNode) {
|
| +bool CXFA_ArrayNodeList::Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) {
|
| if (!pBeforeNode) {
|
| m_array.Add(pNewNode);
|
| } else {
|
| @@ -39,10 +38,10 @@ FX_BOOL CXFA_ArrayNodeList::Insert(CXFA_Node* pNewNode,
|
| }
|
| }
|
| }
|
| - return TRUE;
|
| + return true;
|
| }
|
|
|
| -FX_BOOL CXFA_ArrayNodeList::Remove(CXFA_Node* pNode) {
|
| +bool CXFA_ArrayNodeList::Remove(CXFA_Node* pNode) {
|
| int32_t iSize = m_array.GetSize();
|
| for (int32_t i = 0; i < iSize; ++i) {
|
| if (m_array[i] == pNode) {
|
| @@ -50,7 +49,7 @@ FX_BOOL CXFA_ArrayNodeList::Remove(CXFA_Node* pNode) {
|
| break;
|
| }
|
| }
|
| - return TRUE;
|
| + return true;
|
| }
|
|
|
| CXFA_Node* CXFA_ArrayNodeList::Item(int32_t iIndex) {
|
|
|