[poppler] poppler/Form.cc poppler/Form.h

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Jan 4 05:21:40 PST 2009


 poppler/Form.cc |   11 -----------
 poppler/Form.h  |    3 +--
 2 files changed, 1 insertion(+), 13 deletions(-)

New commits:
commit 46128cf83b322c112eb0c409c20052bdb2ea4a37
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jan 4 14:21:15 2009 +0100

    Remove wrong and unused FormWidget(FormWidget *dest) contructor

diff --git a/poppler/Form.cc b/poppler/Form.cc
index dad706e..be58180 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -118,17 +118,6 @@ FormWidget::FormWidget(XRef *xrefA, Object *aobj, unsigned num, Ref aref, FormFi
     obj1.free();
 }
 
-FormWidget::FormWidget(FormWidget *dest)
-{
-  x1 = dest->x1;
-  y1 = dest->y1;
-  x2 = dest->x2;
-  y2 = dest->x2;
-
-  type = dest->type;
-  field = dest->field;
-}
-
 FormWidget::~FormWidget()
 {
   obj.free ();
diff --git a/poppler/Form.h b/poppler/Form.h
index 58ebca3..35d66af 100644
--- a/poppler/Form.h
+++ b/poppler/Form.h
@@ -6,7 +6,7 @@
 //
 // Copyright 2006 Julien Rebetez <julienr at svn.gnome.org>
 // Copyright 2007, 2008 Carlos Garcia Campos <carlosgc at gnome.org>
-// Copyright 2007, 2008 Albert Astals Cid <aacid at kde.org>
+// Copyright 2007-2009 Albert Astals Cid <aacid at kde.org>
 //
 //========================================================================
 
@@ -94,7 +94,6 @@ public:
 
 protected:
   FormWidget(XRef *xrefA, Object *aobj, unsigned num, Ref aref, FormField *fieldA);
-  FormWidget(FormWidget *dest);
 
   void updateField (const char *key, Object *value);
 


More information about the poppler mailing list