Skip to content

Commit f032474

Browse files
Benoit Lagaeitext-teamcity
authored andcommitted
Use form name: getValue() instead of toString()
DEVSIX-1357 Autoported commit. Original commit hash: [30135114a]
1 parent 8a67016 commit f032474

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

itext/itext.forms/itext/forms/PdfAcroForm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,11 +952,11 @@ private IDictionary<String, PdfFormField> IterateFields(PdfArray array, IDiction
952952
parentField = PdfFormField.MakeFormField(parentField.GetParent(), document);
953953
}
954954
}
955-
name = fieldName.ToString() + "." + index;
955+
name = fieldName.GetValue() + "." + index;
956956
index++;
957957
}
958958
else {
959-
name = fieldName.ToString();
959+
name = fieldName.GetValue();
960960
}
961961
fields.Put(name, formField);
962962
if (formField.GetKids() != null) {

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
25a3282775b6be0b05aecd0eb5527d7bcaa202fc
1+
30135114afcdbee5e6061a4ffb5c8b948091d1dc

0 commit comments

Comments
 (0)