Index: xfa/fxfa/parser/cxfa_font.cpp |
diff --git a/xfa/fxfa/parser/cxfa_font.cpp b/xfa/fxfa/parser/cxfa_font.cpp |
index 2dcb405141e20a043d0029dba65b6667050a9c6d..cedfda6294e6d2619f17729ed78e5701b5d22281 100644 |
--- a/xfa/fxfa/parser/cxfa_font.cpp |
+++ b/xfa/fxfa/parser/cxfa_font.cpp |
@@ -70,13 +70,13 @@ void CXFA_Font::GetTypeface(CFX_WideStringC& wsTypeFace) { |
m_pNode->TryCData(XFA_ATTRIBUTE_Typeface, wsTypeFace); |
} |
-FX_BOOL CXFA_Font::IsBold() { |
+bool CXFA_Font::IsBold() { |
XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Normal; |
m_pNode->TryEnum(XFA_ATTRIBUTE_Weight, eAttr); |
return eAttr == XFA_ATTRIBUTEENUM_Bold; |
} |
-FX_BOOL CXFA_Font::IsItalic() { |
+bool CXFA_Font::IsItalic() { |
XFA_ATTRIBUTEENUM eAttr = XFA_ATTRIBUTEENUM_Normal; |
m_pNode->TryEnum(XFA_ATTRIBUTE_Posture, eAttr); |
return eAttr == XFA_ATTRIBUTEENUM_Italic; |
@@ -89,5 +89,5 @@ void CXFA_Font::SetColor(FX_ARGB color) { |
FX_ARGB CXFA_Font::GetColor() { |
CXFA_Fill fill(m_pNode->GetChild(0, XFA_Element::Fill)); |
- return fill ? fill.GetColor(TRUE) : 0xFF000000; |
+ return fill ? fill.GetColor(true) : 0xFF000000; |
} |