summaryrefslogtreecommitdiff
path: root/poppler/SplashOutputDev.cc
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-09-23 14:03:35 +0200
committerAlbert Astals Cid <aacid@kde.org>2018-09-23 18:44:01 +0200
commit1b8a163fe13ddc6734e1c0cbf719947a83c86613 (patch)
treed029f5c7718c382b674a31cdde88b583428e37b9 /poppler/SplashOutputDev.cc
parent45c8888dcaf3da7981abc045835efd01a24e9e00 (diff)
More const
Diffstat (limited to 'poppler/SplashOutputDev.cc')
-rw-r--r--poppler/SplashOutputDev.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 5cc725a9..4350d908 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -2249,7 +2249,7 @@ reload:
if (fontFile->doAdjustMatrix && !gfxFont->isCIDFont()) {
double w1, w2, w3;
CharCode code;
- char *name;
+ const char *name;
for (code = 0; code < 256; ++code) {
if ((name = ((Gfx8BitFont *)gfxFont)->getCharName(code)) &&
name[0] == 'm' && name[1] == '\0') {
@@ -2497,7 +2497,7 @@ GBool SplashOutputDev::beginType3Char(GfxState *state, double x, double y,
CharCode code, Unicode *u, int uLen) {
GfxFont *gfxFont;
const Ref *fontID;
- double *ctm, *bbox;
+ const double *ctm, *bbox;
T3FontCache *t3Font;
T3GlyphStack *t3gs;
GBool validBBox;