Index: xfa/fwl/core/ifwl_caret.cpp |
diff --git a/xfa/fwl/core/ifwl_caret.cpp b/xfa/fwl/core/ifwl_caret.cpp |
index 94b56e8cf9b23fdc6fe50234f8a9a1a7c67e5df2..4e9b7f64b5dafa55e2316a304b8aa4945caa140e 100644 |
--- a/xfa/fwl/core/ifwl_caret.cpp |
+++ b/xfa/fwl/core/ifwl_caret.cpp |
@@ -20,7 +20,7 @@ IFWL_Caret::IFWL_Caret(const IFWL_App* app, |
m_pTimer(new IFWL_Caret::Timer(this)), |
m_pTimerInfo(nullptr), |
m_dwElapse(400), |
- m_bSetColor(FALSE) { |
+ m_bSetColor(false) { |
SetStates(FWL_STATE_CAT_HightLight); |
} |
@@ -48,7 +48,7 @@ FWL_Error IFWL_Caret::DrawWidget(CFX_Graphics* pGraphics, |
return FWL_Error::Succeeded; |
} |
-void IFWL_Caret::ShowCaret(FX_BOOL bFlag) { |
+void IFWL_Caret::ShowCaret(bool bFlag) { |
if (m_pTimerInfo) { |
m_pTimerInfo->StopTimer(); |
m_pTimerInfo = nullptr; |
@@ -70,7 +70,7 @@ FWL_Error IFWL_Caret::SetFrequency(uint32_t elapse) { |
} |
FWL_Error IFWL_Caret::SetColor(CFX_Color crFill) { |
- m_bSetColor = TRUE; |
+ m_bSetColor = true; |
m_crFill = crFill; |
return FWL_Error::Succeeded; |
} |