summaryrefslogtreecommitdiff
path: root/fxjs/cjs_field.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-12 20:53:40 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-12 20:53:40 +0000
commit189152345346038d6482cb54b84080956a4b31e3 (patch)
tree4c8791e80bf24e32df24fdaeeb2e77e43cde18b9 /fxjs/cjs_field.h
parent4c7ad66463bfcdeb03f4240571d143b35a2c02cf (diff)
downloadpdfium-189152345346038d6482cb54b84080956a4b31e3.tar.xz
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 <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjs_field.h')
-rw-r--r--fxjs/cjs_field.h5
1 files changed, 2 insertions, 3 deletions
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<CPDF_FormField*> GetFormFields(
- const WideString& csFieldName) const;
+ std::vector<CPDF_FormField*> 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);