summaryrefslogtreecommitdiff
path: root/xfa/fde/cfx_chariter.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-02 15:43:18 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-02 15:43:19 -0700
commitd19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch)
tree239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fde/cfx_chariter.cpp
parent12f3e4a58f05850b93af35619cb04f0231d86acc (diff)
downloadpdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fde/cfx_chariter.cpp')
-rw-r--r--xfa/fde/cfx_chariter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fde/cfx_chariter.cpp b/xfa/fde/cfx_chariter.cpp
index d51fb0868f..568ecd6cf0 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);
}