Index: fpdfsdk/src/javascript/JS_Runtime_Stub.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp |
index f7b1124a6e6d2b0707893631807a0c86e7582c35..b53806619054a6913e14db4dbe35aa2fb5aeb592 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp |
+++ b/fpdfsdk/src/javascript/JS_Runtime_Stub.cpp |
@@ -136,6 +136,18 @@ class CJS_RuntimeStub final : public IJS_Runtime { |
} |
CPDFSDK_Document* GetReaderDocument() override { return m_pDoc; } |
+#ifdef PDF_ENABLE_XFA |
+ virtual FX_BOOL GetHValueByName(const CFX_ByteStringC&, |
+ FXJSE_HVALUE) override { |
+ return FALSE; |
+ } |
+ |
+ virtual FX_BOOL SetHValueByName(const CFX_ByteStringC&, |
+ FXJSE_HVALUE) override { |
+ return FALSE; |
+ } |
+ |
+#endif |
int Execute(IJS_Context* cc, |
const wchar_t* script, |
CFX_WideString* info) override { |