Index: fpdfsdk/javascript/cjs_runtime.h |
diff --git a/fpdfsdk/javascript/cjs_runtime.h b/fpdfsdk/javascript/cjs_runtime.h |
index 1b004ded8945629929a134b4e16305ececf3b94b..66f08772e1977f849fd9792a0e036a95297c5ed5 100644 |
--- a/fpdfsdk/javascript/cjs_runtime.h |
+++ b/fpdfsdk/javascript/cjs_runtime.h |
@@ -47,15 +47,15 @@ class CJS_Runtime : public IJS_Runtime, |
bool AddEventToSet(const FieldEvent& event); |
void RemoveEventFromSet(const FieldEvent& event); |
- void BeginBlock() { m_bBlocking = TRUE; } |
- void EndBlock() { m_bBlocking = FALSE; } |
- FX_BOOL IsBlocking() const { return m_bBlocking; } |
+ void BeginBlock() { m_bBlocking = true; } |
+ void EndBlock() { m_bBlocking = false; } |
+ bool IsBlocking() const { return m_bBlocking; } |
#ifdef PDF_ENABLE_XFA |
- FX_BOOL GetValueByName(const CFX_ByteStringC& utf8Name, |
- CFXJSE_Value* pValue) override; |
- FX_BOOL SetValueByName(const CFX_ByteStringC& utf8Name, |
- CFXJSE_Value* pValue) override; |
+ bool GetValueByName(const CFX_ByteStringC& utf8Name, |
+ CFXJSE_Value* pValue) override; |
+ bool SetValueByName(const CFX_ByteStringC& utf8Name, |
+ CFXJSE_Value* pValue) override; |
#endif // PDF_ENABLE_XFA |
private: |