diff options
author | Andreas Politz <politza@hochschule-trier.de> | 2018-04-21 20:26:21 +0200 |
---|---|---|
committer | Andreas Politz <politza@hochschule-trier.de> | 2018-04-22 18:35:23 +0200 |
commit | ded6341b0e3ad97e8b14f68c1796ba66dc155fd1 (patch) | |
tree | b31df60cc041e240fd4fbf982ddd795565dd858a /server/poppler-hack.cc | |
parent | 6505a0e817495b85897c9380161034ae611ddd90 (diff) |
Add another missing const qualifier
Diffstat (limited to 'server/poppler-hack.cc')
-rw-r--r-- | server/poppler-hack.cc | 2 |
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, |