summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Politz <politza@hochschule-trier.de>2018-04-21 20:26:21 +0200
committerAndreas Politz <politza@hochschule-trier.de>2018-04-21 20:26:21 +0200
commit064273ccac327a61299d133ca5516ffde61f202c (patch)
tree5a2c49718dd9d48228a5ac675c4e660c3c4023bd
parentacd50572a10dbf88a1cebb3f1360f5a05f6f9e81 (diff)
Add another missing const qualifierfix/372
-rw-r--r--server/poppler-hack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/poppler-hack.cc b/server/poppler-hack.cc
index a508136..c727425 100644
--- a/server/poppler-hack.cc
+++ b/server/poppler-hack.cc
@@ -85,7 +85,7 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONST;
// Set the rectangle of an annotation. It was first added in v0.26.
void xpoppler_annot_set_rectangle (PopplerAnnot *a, PopplerRectangle *rectangle)
{
- GooString *state = a->annot->getAppearState ();
+ const GooString *state = a->annot->getAppearState ();
char *ustate = _xpoppler_goo_string_to_utf8 (state);
a->annot->setRect (rectangle->x1, rectangle->y1,