Index: fpdfsdk/javascript/Icon.cpp |
diff --git a/fpdfsdk/javascript/Icon.cpp b/fpdfsdk/javascript/Icon.cpp |
index 031ec4f63a2eecdde4f44a836459f85a9722c5ef..94841ef87028d6b788b6869419938a9ed6179605 100644 |
--- a/fpdfsdk/javascript/Icon.cpp |
+++ b/fpdfsdk/javascript/Icon.cpp |
@@ -44,10 +44,10 @@ CFX_WideString Icon::GetIconName() { |
return m_swIconName; |
} |
-FX_BOOL Icon::name(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) { |
+bool Icon::name(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) { |
if (!vp.IsGetting()) |
- return FALSE; |
+ return false; |
vp << m_swIconName; |
- return TRUE; |
+ return true; |
} |