diff options
author | dan sinclair <dsinclair@chromium.org> | 2018-03-08 15:19:50 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-08 15:19:50 +0000 |
commit | 7544a4b4fd98b4cf6e06e717758e237ffd822671 (patch) | |
tree | f2f7ee9cb7dc25eeda4e5c0d87ccf713111327a1 /core/fpdfdoc/cpdf_interform.h | |
parent | 507fb4ed09d5fbc92fafdfe405d79d44d11a4664 (diff) | |
download | pdfium-7544a4b4fd98b4cf6e06e717758e237ffd822671.tar.xz |
CPDF_InterForm::ResetForm always returns true
This method always returns true, so remove the return value.
Change-Id: I3da93fc5face39a53b589787873839c06c9fcfab
Reviewed-on: https://pdfium-review.googlesource.com/28210
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_interform.h')
-rw-r--r-- | core/fpdfdoc/cpdf_interform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_interform.h b/core/fpdfdoc/cpdf_interform.h index e2673840c7..2f60bf77b5 100644 --- a/core/fpdfdoc/cpdf_interform.h +++ b/core/fpdfdoc/cpdf_interform.h @@ -80,10 +80,10 @@ class CPDF_InterForm { bool bIncludeOrExclude, bool bSimpleFileSpec) const; - bool ResetForm(const std::vector<CPDF_FormField*>& fields, + void ResetForm(const std::vector<CPDF_FormField*>& fields, bool bIncludeOrExclude, bool bNotify); - bool ResetForm(bool bNotify); + void ResetForm(bool bNotify); void SetFormNotify(IPDF_FormNotify* pNotify); bool HasXFAForm() const; |