Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: fpdfsdk/cpdfsdk_annot.cpp

Issue 2453683011: Remove FX_BOOL from fpdfsdk. (Closed)
Patch Set: Regenerate patch after rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/cpdfsdk_annot.h ('k') | fpdfsdk/cpdfsdk_annothandlermgr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/cpdfsdk_annot.cpp
diff --git a/fpdfsdk/cpdfsdk_annot.cpp b/fpdfsdk/cpdfsdk_annot.cpp
index 4e62d93cc10bb067301118ab77e67593a2573f1d..4dcce48465342f86a8dfc4ff6515ee529aaf07c0 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;
}
« no previous file with comments | « fpdfsdk/cpdfsdk_annot.h ('k') | fpdfsdk/cpdfsdk_annothandlermgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698