Index: fpdfsdk/javascript/report.cpp |
diff --git a/fpdfsdk/javascript/report.cpp b/fpdfsdk/javascript/report.cpp |
index 69cc33600380804990d48214d1dae098fbd12d84..ba6e97d87c2ad3d26805d65c7172fd42d33b4a13 100644 |
--- a/fpdfsdk/javascript/report.cpp |
+++ b/fpdfsdk/javascript/report.cpp |
@@ -29,18 +29,18 @@ Report::Report(CJS_Object* pJSObject) : CJS_EmbedObj(pJSObject) {} |
Report::~Report() {} |
-FX_BOOL Report::writeText(IJS_Context* cc, |
- const std::vector<CJS_Value>& params, |
- CJS_Value& vRet, |
- CFX_WideString& sError) { |
+bool Report::writeText(IJS_Context* cc, |
+ const std::vector<CJS_Value>& params, |
+ CJS_Value& vRet, |
+ CFX_WideString& sError) { |
// Unsafe, not supported. |
- return TRUE; |
+ return true; |
} |
-FX_BOOL Report::save(IJS_Context* cc, |
- const std::vector<CJS_Value>& params, |
- CJS_Value& vRet, |
- CFX_WideString& sError) { |
+bool Report::save(IJS_Context* cc, |
+ const std::vector<CJS_Value>& params, |
+ CJS_Value& vRet, |
+ CFX_WideString& sError) { |
// Unsafe, not supported. |
- return TRUE; |
+ return true; |
} |