[poppler] poppler/Annot.cc

Pino Toscano pino at kemper.freedesktop.org
Sat Apr 26 09:11:05 PDT 2008


 poppler/Annot.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ddc7c1f8c24762bae615e7dec92e92a58c827478
Author: Pino Toscano <pino at kde.org>
Date:   Sat Apr 26 18:12:51 2008 +0200

    construct AnnotPolygon for Polygon and PolyLine annotations

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 39c3517..f611558 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -3871,9 +3871,9 @@ Annot *Annots::createAnnot(XRef *xref, Dict* dict, Catalog *catalog, Object *obj
     } else if (!typeName->cmp("Circle")) {
       annot = new AnnotGeometry(xref, dict, catalog, obj);
     } else if (!typeName->cmp("Polygon")) {
-      annot = new Annot(xref, dict, catalog, obj);
+      annot = new AnnotPolygon(xref, dict, catalog, obj);
     } else if (!typeName->cmp("PolyLine")) {
-      annot = new Annot(xref, dict, catalog, obj);
+      annot = new AnnotPolygon(xref, dict, catalog, obj);
     } else if (!typeName->cmp("Highlight")) {
       annot = new AnnotTextMarkup(xref, dict, catalog, obj);
     } else if (!typeName->cmp("Underline")) {


More information about the poppler mailing list