poppler/Annot.cc | 4 ---- poppler/Annot.h | 1 - 2 files changed, 5 deletions(-)
New commits: commit 20e8d51d6523ce6c92c1aab1b75d7c1bb64b441d Author: Albert Astals Cid <[email protected]> Date: Wed Nov 14 15:02:49 2018 +0100 Remove unused AnnotPopup::setParent diff --git a/poppler/Annot.cc b/poppler/Annot.cc index e7bf7ca6..e6530d2d 100644 --- a/poppler/Annot.cc +++ b/poppler/Annot.cc @@ -1879,10 +1879,6 @@ void AnnotPopup::initialize(PDFDoc *docA, Dict *dict) { } } -void AnnotPopup::setParent(Object *parentA) { - update ("Parent", parentA->copy()); -} - void AnnotPopup::setParent(Annot *parentA) { const Ref parentRef = parentA->getRef(); update ("Parent", Object(parentRef.num, parentRef.gen)); diff --git a/poppler/Annot.h b/poppler/Annot.h index 5a16f87c..e5151155 100644 --- a/poppler/Annot.h +++ b/poppler/Annot.h @@ -786,7 +786,6 @@ public: ~AnnotPopup(); Object *getParentNF() { return &parent; } - void setParent(Object *parentA); void setParent(Annot *parentA); bool getOpen() const { return open; } void setOpen(bool openA); _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
