[poppler] poppler/Annot.cc poppler/Annot.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 29 14:59:48 UTC 2020


 poppler/Annot.cc |    3 ++-
 poppler/Annot.h  |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 6d7ed61dfa6a650078446d7a41ab95f2458cfd70
Author: Albert Astals Cid <albert.astals.cid at kdab.com>
Date:   Thu Oct 29 15:53:58 2020 +0100

    const++

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index b6e4d32b..d472a6e6 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -44,6 +44,7 @@
 // Copyright (C) 2018-2020 Oliver Sander <oliver.sander at tu-dresden.de>
 // Copyright (C) 2019 Umang Malik <umang99m at gmail.com>
 // Copyright (C) 2019 João Netto <joaonetto901 at gmail.com>
+// Copyright (C) 2020 Klarälvdalens Datakonsult AB, a KDAB Group company, <info at kdab.com>. Work sponsored by Technische Universität Dresden
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -1338,7 +1339,7 @@ void Annot::getRect(double *x1, double *y1, double *x2, double *y2) const
     *y2 = rect->y2;
 }
 
-void Annot::setRect(PDFRectangle *rectA)
+void Annot::setRect(const PDFRectangle *rectA)
 {
     setRect(rectA->x1, rectA->y1, rectA->x2, rectA->y2);
 }
diff --git a/poppler/Annot.h b/poppler/Annot.h
index 0d7bf174..dea29514 100644
--- a/poppler/Annot.h
+++ b/poppler/Annot.h
@@ -34,6 +34,7 @@
 // Copyright (C) 2019 Umang Malik <umang99m at gmail.com>
 // Copyright (C) 2019 João Netto <joaonetto901 at gmail.com>
 // Copyright (C) 2020 Nelson Benítez León <nbenitezl at gmail.com>
+// Copyright (C) 2020 Klarälvdalens Datakonsult AB, a KDAB Group company, <info at kdab.com>. Work sponsored by Technische Universität Dresden
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -689,7 +690,7 @@ public:
     double getXMax();
     double getYMax();
 
-    void setRect(PDFRectangle *rect);
+    void setRect(const PDFRectangle *rect);
     void setRect(double x1, double y1, double x2, double y2);
 
     // Sets the annot contents to new_content


More information about the poppler mailing list