Showing
1 changed file
with
1 additions
and
1 deletions
@@ -145,7 +145,7 @@ class PdfCatalog extends PdfObject<PdfDict> { | @@ -145,7 +145,7 @@ class PdfCatalog extends PdfObject<PdfDict> { | ||
145 | for (final w in widgets) { | 145 | for (final w in widgets) { |
146 | if (w.annot is PdfTextField) { | 146 | if (w.annot is PdfTextField) { |
147 | // collect textfield font references | 147 | // collect textfield font references |
148 | - PdfTextField tf = w.annot as PdfTextField; | 148 | + final tf = w.annot as PdfTextField; |
149 | fontRefs.addAll(PdfDict.values({tf.font.name: tf.font.ref()})); | 149 | fontRefs.addAll(PdfDict.values({tf.font.name: tf.font.ref()})); |
150 | } | 150 | } |
151 | final ref = w.ref(); | 151 | final ref = w.ref(); |
-
Please register or login to post a comment