diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-23 13:36:00 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-23 13:36:00 -0700 |
commit | f1e7c461dfabbff6b65a072f24f6711b34159361 (patch) | |
tree | 3b0bb772a59669f06b86824a444fd06642592d4b /fpdfsdk/src/formfiller/FFL_Utils.cpp | |
parent | 320b2313d19869333ed453af546e61a9fc2b81c9 (diff) | |
download | pdfium-f1e7c461dfabbff6b65a072f24f6711b34159361.tar.xz |
Revert "FX_BOOL considered harmful, part 2."
This reverts commit 320b2313d19869333ed453af546e61a9fc2b81c9.
Reason for revert: build failure.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1255693002 .
Diffstat (limited to 'fpdfsdk/src/formfiller/FFL_Utils.cpp')
-rw-r--r-- | fpdfsdk/src/formfiller/FFL_Utils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_Utils.cpp b/fpdfsdk/src/formfiller/FFL_Utils.cpp index 0e5022c9c1..8d2d76d73c 100644 --- a/fpdfsdk/src/formfiller/FFL_Utils.cpp +++ b/fpdfsdk/src/formfiller/FFL_Utils.cpp @@ -41,9 +41,9 @@ CPDF_Rect CFFL_Utils::DeflateRect(const CPDF_Rect & crRect,const FX_FLOAT & fSiz return crNew; } -bool CFFL_Utils::TraceObject(CPDF_Object* pObj) +FX_BOOL CFFL_Utils::TraceObject(CPDF_Object* pObj) { - if (!pObj) return false; + if (!pObj) return FALSE; FX_DWORD dwObjNum = pObj->GetObjNum(); switch (pObj->GetType()) @@ -71,7 +71,7 @@ bool CFFL_Utils::TraceObject(CPDF_Object* pObj) //TRACE(csKey + "\n"); if (!pElement) break; TraceObject(pElement); - }while (true); + }while (TRUE); } break; @@ -107,8 +107,8 @@ bool CFFL_Utils::TraceObject(CPDF_Object* pObj) default: break; } - if (dwObjNum == 0) return false; + if (dwObjNum == 0) return FALSE; - return true; + return TRUE; } |