Index: fpdfsdk/src/javascript/Icon.cpp |
diff --git a/fpdfsdk/src/javascript/Icon.cpp b/fpdfsdk/src/javascript/Icon.cpp |
index 6b3e02e1ec5dab9df31d1ca09cf83134c96b8126..27a9773235cc5d84d5d26c591452510f21cc1eb2 100644 |
--- a/fpdfsdk/src/javascript/Icon.cpp |
+++ b/fpdfsdk/src/javascript/Icon.cpp |
@@ -57,11 +57,11 @@ CFX_WideString Icon::GetIconName() |
return m_swIconName; |
} |
-FX_BOOL Icon::name(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) |
+bool Icon::name(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) |
{ |
- if(!vp.IsGetting())return FALSE; |
+ if(!vp.IsGetting())return false; |
vp << m_swIconName; |
- return TRUE; |
+ return true; |
} |