summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Document.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-06-19 12:25:54 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-06-19 20:33:38 +0000
commitd3610056e36b9211e9ed3806a3f99a1184e9413e (patch)
treeaf646f11b126a54c2bcb1187e155897882b27b7f /fpdfsdk/javascript/Document.cpp
parente5749afd07de3b66c02bb76176d145e11f6ced34 (diff)
downloadpdfium-d3610056e36b9211e9ed3806a3f99a1184e9413e.tar.xz
Fix code in fpdf_flatten.cpp that does no make sense.
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 <npm@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/Document.cpp')
-rw-r--r--fpdfsdk/javascript/Document.cpp5
1 files changed, 0 insertions, 5 deletions
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<CJS_Value>& params,
CJS_Value& vRet,