summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Icon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Icon.cpp')
-rw-r--r--fpdfsdk/javascript/Icon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/Icon.cpp b/fpdfsdk/javascript/Icon.cpp
index 031ec4f63a..94841ef870 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;
}