Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Raphael Nestler
poppler
Commits
359fc194
Commit
359fc194
authored
Sep 05, 2008
by
Albert Astals Cid
Browse files
Fix crash on files with forms but no AcroForm
parent
6062e0ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
poppler/Annot.cc
View file @
359fc194
...
...
@@ -1732,7 +1732,8 @@ void AnnotWidget::initialize(XRef *xrefA, Catalog *catalog, Dict *dict) {
Object
obj1
;
form
=
catalog
->
getForm
();
widget
=
form
->
findWidgetByRef
(
ref
);
if
(
form
)
widget
=
form
->
findWidgetByRef
(
ref
);
else
widget
=
NULL
;
// check if field apperances need to be regenerated
// Only text or choice fields needs to have appearance regenerated
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment