From 7544a4b4fd98b4cf6e06e717758e237ffd822671 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Thu, 8 Mar 2018 15:19:50 +0000 Subject: 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 Reviewed-by: Ryan Harrison --- fpdfsdk/fsdk_actionhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/fsdk_actionhandler.cpp') diff --git a/fpdfsdk/fsdk_actionhandler.cpp b/fpdfsdk/fsdk_actionhandler.cpp index 5999763b9c..c0e413f158 100644 --- a/fpdfsdk/fsdk_actionhandler.cpp +++ b/fpdfsdk/fsdk_actionhandler.cpp @@ -515,11 +515,11 @@ bool CPDFSDK_ActionHandler::DoAction_SubmitForm( return pInterForm->DoAction_SubmitForm(action); } -bool CPDFSDK_ActionHandler::DoAction_ResetForm( +void CPDFSDK_ActionHandler::DoAction_ResetForm( const CPDF_Action& action, CPDFSDK_FormFillEnvironment* pFormFillEnv) { CPDFSDK_InterForm* pInterForm = pFormFillEnv->GetInterForm(); - return pInterForm->DoAction_ResetForm(action); + pInterForm->DoAction_ResetForm(action); } void CPDFSDK_ActionHandler::RunScriptForAction( -- cgit v1.2.3