From d3610056e36b9211e9ed3806a3f99a1184e9413e Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 19 Jun 2017 12:25:54 -0700 Subject: Fix code in fpdf_flatten.cpp that does no make sense. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix some nits and simplify code as well. Change-Id: I77c88f211b9ce32f38221d04c067f73818e0e970 Reviewed-on: https://pdfium-review.googlesource.com/6674 Reviewed-by: Nicolás Peña Reviewed-by: dsinclair Commit-Queue: Lei Zhang --- fpdfsdk/javascript/Document.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fpdfsdk/javascript') diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp index 5d5c2b5d6b..d5b075da62 100644 --- a/fpdfsdk/javascript/Document.cpp +++ b/fpdfsdk/javascript/Document.cpp @@ -273,11 +273,6 @@ bool Document::exportAsXFDF(CJS_Runtime* pRuntime, return true; } -// Maps a field object in PDF document to a JavaScript variable -// comment: -// note: the paremter cName, this is clue how to treat if the cName is not a -// valiable filed name in this document - bool Document::getField(CJS_Runtime* pRuntime, const std::vector& params, CJS_Value& vRet, -- cgit v1.2.3