poppler/Annot.cc | 3 ++- poppler/Annot.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 6d7ed61dfa6a650078446d7a41ab95f2458cfd70 Author: Albert Astals Cid <[email protected]> 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 <[email protected]> // Copyright (C) 2019 Umang Malik <[email protected]> // Copyright (C) 2019 João Netto <[email protected]> +// Copyright (C) 2020 Klarälvdalens Datakonsult AB, a KDAB Group company, <[email protected]>. 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 <[email protected]> // Copyright (C) 2019 João Netto <[email protected]> // Copyright (C) 2020 Nelson Benítez León <[email protected]> +// Copyright (C) 2020 Klarälvdalens Datakonsult AB, a KDAB Group company, <[email protected]>. 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 _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
