blob: 322cbb2e78febd06ce8be38b3316e8546ae5605c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From ded6341b0e3ad97e8b14f68c1796ba66dc155fd1 Mon Sep 17 00:00:00 2001
From: Andreas Politz <politza@hochschule-trier.de>
Date: Sat, 21 Apr 2018 20:26:21 +0200
Subject: [PATCH] Add another missing const qualifier
---
server/poppler-hack.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
2.19.1
|