From 189152345346038d6482cb54b84080956a4b31e3 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 12 Jul 2018 20:53:40 +0000 Subject: Remove parameter to CJS_Field::GetFormFields(). It is always the same value. Also mark ValueIsOccur() as const. Change-Id: Ifdfc33f8213ed272e7d36e1e4c2de1d2070fbcbd Reviewed-on: https://pdfium-review.googlesource.com/37712 Commit-Queue: Lei Zhang Reviewed-by: dsinclair --- fxjs/cjs_field.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fxjs/cjs_field.h') diff --git a/fxjs/cjs_field.h b/fxjs/cjs_field.h index 1263f0b775..12fcd2a7fe 100644 --- a/fxjs/cjs_field.h +++ b/fxjs/cjs_field.h @@ -403,11 +403,10 @@ class CJS_Field : public CJS_Object { void ParseFieldName(const std::wstring& strFieldNameParsed, std::wstring& strFieldName, int& iControlNo); - std::vector GetFormFields( - const WideString& csFieldName) const; + std::vector GetFormFields() const; CPDF_FormField* GetFirstFormField() const; CPDF_FormControl* GetSmartFieldControl(CPDF_FormField* pFormField); - bool ValueIsOccur(CPDF_FormField* pFormField, WideString csOptLabel); + bool ValueIsOccur(CPDF_FormField* pFormField, WideString csOptLabel) const; void AddDelay_Int(FIELD_PROP prop, int32_t n); void AddDelay_Bool(FIELD_PROP prop, bool b); -- cgit v1.2.3