[poppler] Branch 'poppler-0.8' - poppler/Annot.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon Sep 1 14:51:56 PDT 2008
poppler/Annot.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 679a2da8206320d43a60e8f256a0a571350b5d94
Author: Albert Astals Cid <aacid at kde.org>
Date: Mon Sep 1 23:50:37 2008 +0200
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 @@ AnnotTextMarkup::~AnnotTextMarkup() {
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() {
More information about the poppler
mailing list