From 03f0fb0e650f134f31991b62e39c4d9a9d577560 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Wed, 19 Apr 2017 17:38:54 -0400 Subject: Remove the friends of CPDF_FormField Added some public methods so that CPDF_FormField has no friends. Change-Id: I179537e3c6ea64cedaca5365010c34c1ad702c40 Reviewed-on: https://pdfium-review.googlesource.com/4370 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fpdfdoc/cpdf_formfield.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfdoc/cpdf_formfield.cpp') diff --git a/core/fpdfdoc/cpdf_formfield.cpp b/core/fpdfdoc/cpdf_formfield.cpp index e7ca7c6a8d..9007d8b0da 100644 --- a/core/fpdfdoc/cpdf_formfield.cpp +++ b/core/fpdfdoc/cpdf_formfield.cpp @@ -47,7 +47,7 @@ bool IsUnison(CPDF_FormField* pField) { } // namespace -CPDF_Object* FPDF_GetFieldAttr(CPDF_Dictionary* pFieldDict, +CPDF_Object* FPDF_GetFieldAttr(const CPDF_Dictionary* pFieldDict, const char* name, int nLevel) { if (nLevel > kMaxRecursion) -- cgit v1.2.3