diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-02 15:49:12 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-02 15:49:12 -0800 |
commit | 256243417ba59b507313f641a6a0cb0299cfd356 (patch) | |
tree | 48f85a66ca970e8ed48819ed007676c1f4a3d553 | |
parent | 77244553b268758b4ba435bbf52af8b52bda23da (diff) | |
download | pdfium-256243417ba59b507313f641a6a0cb0299cfd356.tar.xz |
Fix windows build at 77244553b268 (FX_BOOL vs. bool)
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1667433002 .
-rw-r--r-- | core/include/fpdfdoc/fpdf_doc.h | 4 | ||||
-rw-r--r-- | core/src/fpdfdoc/doc_formfield.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h index f0088a6cb3..fee6c49310 100644 --- a/core/include/fpdfdoc/fpdf_doc.h +++ b/core/include/fpdfdoc/fpdf_doc.h @@ -797,8 +797,8 @@ class CPDF_FormField { int FindOptionValue(const CFX_WideString& csOptValue, int iStartIndex = 0); FX_BOOL CheckControl(int iControlIndex, - FX_BOOL bChecked, - FX_BOOL bNotify = FALSE); + bool bChecked, + bool bNotify = false); int GetTopVisibleIndex(); diff --git a/core/src/fpdfdoc/doc_formfield.cpp b/core/src/fpdfdoc/doc_formfield.cpp index 3c161cf1e2..c9da1323a9 100644 --- a/core/src/fpdfdoc/doc_formfield.cpp +++ b/core/src/fpdfdoc/doc_formfield.cpp @@ -726,8 +726,8 @@ int CPDF_FormField::FindOptionValue(const CFX_WideString& csOptValue, return -1; } FX_BOOL CPDF_FormField::CheckControl(int iControlIndex, - FX_BOOL bChecked, - FX_BOOL bNotify) { + bool bChecked, + bool bNotify) { ASSERT(GetType() == CheckBox || GetType() == RadioButton); CPDF_FormControl* pControl = GetControl(iControlIndex); if (!pControl) { |