commit | 679a2da8206320d43a60e8f256a0a571350b5d94 | [log] [tgz] |
---|---|---|
author | Albert Astals Cid <aacid@kde.org> | Mon Sep 01 23:50:37 2008 +0200 |
committer | Albert Astals Cid <aacid@kde.org> | Mon Sep 01 23:51:44 2008 +0200 |
tree | 74d94766ddbf1c7525835875ed7dbf84b5e169b1 | |
parent | 601a345d9e5ea173960d385351b40a73c9a8f687 [diff] |
Initialize widget to null before calling initialize not after :-(
diff --git a/poppler/Annot.cc b/poppler/Annot.cc index 2948621..e17e722 100644 --- a/poppler/Annot.cc +++ b/poppler/Annot.cc
@@ -1710,8 +1710,8 @@ AnnotWidget::AnnotWidget(XRef *xrefA, Dict *dict, Catalog *catalog, Object *obj) : Annot(xrefA, dict, catalog, obj) { type = typeWidget; - initialize(xrefA, catalog, dict); widget = NULL; + initialize(xrefA, catalog, dict); } AnnotWidget::~AnnotWidget() {