Index: xfa/fde/cfx_chariter.cpp |
diff --git a/xfa/fde/cfx_chariter.cpp b/xfa/fde/cfx_chariter.cpp |
index d51fb0868f4f322024a0e8031b209e7e2e7849ae..568ecd6cf0d85bd49458f573377789fbdccf21a3 100644 |
--- a/xfa/fde/cfx_chariter.cpp |
+++ b/xfa/fde/cfx_chariter.cpp |
@@ -13,17 +13,17 @@ CFX_CharIter::CFX_CharIter(const CFX_WideString& wsText) |
CFX_CharIter::~CFX_CharIter() {} |
-FX_BOOL CFX_CharIter::Next(FX_BOOL bPrev) { |
+bool CFX_CharIter::Next(bool bPrev) { |
if (bPrev) { |
if (m_nIndex <= 0) |
- return FALSE; |
+ return false; |
m_nIndex--; |
} else { |
if (m_nIndex + 1 >= m_wsText.GetLength()) |
- return FALSE; |
+ return false; |
m_nIndex++; |
} |
- return TRUE; |
+ return true; |
} |
FX_WCHAR CFX_CharIter::GetChar() { |
@@ -40,7 +40,7 @@ int32_t CFX_CharIter::GetAt() const { |
return m_nIndex; |
} |
-FX_BOOL CFX_CharIter::IsEOF(FX_BOOL bTail) const { |
+bool CFX_CharIter::IsEOF(bool bTail) const { |
return bTail ? (m_nIndex + 1 == m_wsText.GetLength()) : (m_nIndex == 0); |
} |