summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Field.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Field.h')
-rw-r--r--fpdfsdk/javascript/Field.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/Field.h b/fpdfsdk/javascript/Field.h
index 5697865b7c..3d1b0ff876 100644
--- a/fpdfsdk/javascript/Field.h
+++ b/fpdfsdk/javascript/Field.h
@@ -425,7 +425,8 @@ class Field : public CJS_EmbedObj {
FX_BOOL bRefresh);
static CPDFSDK_Widget* GetWidget(CPDFSDK_Document* pDocument,
- CPDF_FormControl* pFormControl);
+ CPDF_FormControl* pFormControl,
+ bool createIfNeeded);
static std::vector<CPDF_FormField*> GetFormFields(
CPDFSDK_Document* pDocument,
const CFX_WideString& csFieldName);