fix(poppler/PDFDoc.cc): do assignment before generateFieldAppearance()
Adreses #1198 (closed) and is the first of four merge requests as laid out in !1029 (comment 1211491)
Adreses #1198 (closed) and is the first of four merge requests as laid out in !1029 (comment 1211491)