diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 14:37:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 14:37:55 -0700 |
commit | 4cf551577856f89103e162edc761def44ffb96fc (patch) | |
tree | 452684db6c2dd2b9aa697415ff4b752e59123b77 /fpdfsdk/cpdfsdk_annot.cpp | |
parent | 66bd67023f747c489d7144aaf4ca6222c686cd26 (diff) | |
download | pdfium-4cf551577856f89103e162edc761def44ffb96fc.tar.xz |
Remove FX_BOOL from fpdfsdk.
Review-Url: https://codereview.chromium.org/2453683011
Diffstat (limited to 'fpdfsdk/cpdfsdk_annot.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_annot.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/cpdfsdk_annot.cpp b/fpdfsdk/cpdfsdk_annot.cpp index 4e62d93cc1..4dcce48465 100644 --- a/fpdfsdk/cpdfsdk_annot.cpp +++ b/fpdfsdk/cpdfsdk_annot.cpp @@ -23,14 +23,14 @@ const float kMinHeight = 1.0f; } // namespace CPDFSDK_Annot::CPDFSDK_Annot(CPDFSDK_PageView* pPageView) - : m_pPageView(pPageView), m_bSelected(FALSE) {} + : m_pPageView(pPageView), m_bSelected(false) {} CPDFSDK_Annot::~CPDFSDK_Annot() {} #ifdef PDF_ENABLE_XFA -FX_BOOL CPDFSDK_Annot::IsXFAField() { - return FALSE; +bool CPDFSDK_Annot::IsXFAField() { + return false; } CXFA_FFWidget* CPDFSDK_Annot::GetXFAWidget() const { @@ -77,11 +77,11 @@ void CPDFSDK_Annot::Annot_OnDraw(CFX_RenderDevice* pDevice, CFX_Matrix* pUser2Device, CPDF_RenderOptions* pOptions) {} -FX_BOOL CPDFSDK_Annot::IsSelected() { +bool CPDFSDK_Annot::IsSelected() { return m_bSelected; } -void CPDFSDK_Annot::SetSelected(FX_BOOL bSelected) { +void CPDFSDK_Annot::SetSelected(bool bSelected) { m_bSelected = bSelected; } |