[poppler] glib/poppler-document.cc glib/poppler-private.h

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Apr 5 10:23:32 UTC 2018


 glib/poppler-document.cc |    2 +-
 glib/poppler-private.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5e7931c4c9fdaba8b3343d04eda6e9eb2a2e3dcd
Author: Albert Astals Cid <albert.astals.cid at kdab.com>
Date:   Thu Apr 5 12:23:21 2018 +0200

    Make _poppler_goo_string_to_utf8 input param const

diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index e845bc12..fe33649d 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -708,7 +708,7 @@ poppler_document_find_dest (PopplerDocument *document,
 	return dest;
 }
 
-char *_poppler_goo_string_to_utf8(GooString *s)
+char *_poppler_goo_string_to_utf8(const GooString *s)
 {
   if (s == nullptr) {
     return nullptr;
diff --git a/glib/poppler-private.h b/glib/poppler-private.h
index 9abdd7c7..6c9a6f2f 100644
--- a/glib/poppler-private.h
+++ b/glib/poppler-private.h
@@ -135,7 +135,7 @@ PopplerAnnot      *_poppler_annot_line_new (Annot *annot);
 PopplerAnnot      *_poppler_annot_circle_new (Annot *annot);
 PopplerAnnot      *_poppler_annot_square_new (Annot *annot);
 
-char *_poppler_goo_string_to_utf8(GooString *s);
+char *_poppler_goo_string_to_utf8(const GooString *s);
 gboolean _poppler_convert_pdf_date_to_gtime (GooString *date,
 					     time_t    *gdate);
 


More information about the poppler mailing list