diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-27 12:08:12 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-27 12:08:12 -0700 |
commit | 8d2aae7ee320da3a8ffe01c57e38b3f98443257d (patch) | |
tree | e694c6f82ec72fa46e6172b4475996b30d3f6a3a /fpdfsdk/src/formfiller/FFL_Utils.cpp | |
parent | ff46aaf499edcf153ee2f57c7016587aa96dcfa0 (diff) | |
download | pdfium-8d2aae7ee320da3a8ffe01c57e38b3f98443257d.tar.xz |
Revert "FX Bool considered harmful, part 3"
This reverts commit ff46aaf499edcf153ee2f57c7016587aa96dcfa0.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1255293002 .
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; } |