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

Unified Diff: xfa/fwl/theme/cfwl_monthcalendartp.cpp

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: 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 | « xfa/fwl/theme/cfwl_arrowdata.cpp ('k') | xfa/fwl/theme/cfwl_scrollbartp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/theme/cfwl_monthcalendartp.cpp
diff --git a/xfa/fwl/theme/cfwl_monthcalendartp.cpp b/xfa/fwl/theme/cfwl_monthcalendartp.cpp
index b554483dcdd232f94c53a0c7c6548af591be806b..b50d492ade22606d7fe5b37acf51d23e0f336846 100644
--- a/xfa/fwl/theme/cfwl_monthcalendartp.cpp
+++ b/xfa/fwl/theme/cfwl_monthcalendartp.cpp
@@ -144,8 +144,8 @@ void CFWL_MonthCalendarTP::DrawText(CFWL_ThemeText* pParams) {
void* CFWL_MonthCalendarTP::GetCapacity(CFWL_ThemePart* pThemePart,
CFWL_WidgetCapacity dwCapacity) {
- FX_BOOL bDefPro = FALSE;
- FX_BOOL bDwordVal = FALSE;
+ bool bDefPro = false;
+ bool bDwordVal = false;
switch (dwCapacity) {
case CFWL_WidgetCapacity::HeaderWidth: {
m_fValue = kHeaderWidth;
@@ -164,7 +164,7 @@ void* CFWL_MonthCalendarTP::GetCapacity(CFWL_ThemePart* pThemePart,
break;
}
case CFWL_WidgetCapacity::HeaderBtnHMargin: {
- bDwordVal = TRUE;
+ bDwordVal = true;
m_dwValue = kButtonHorizontalMargin;
break;
}
@@ -341,7 +341,7 @@ void* CFWL_MonthCalendarTP::GetCapacity(CFWL_ThemePart* pThemePart,
return &wsResource;
}
default:
- bDefPro = TRUE;
+ bDefPro = true;
break;
}
if (!bDefPro) {
« no previous file with comments | « xfa/fwl/theme/cfwl_arrowdata.cpp ('k') | xfa/fwl/theme/cfwl_scrollbartp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698