diff options
author | Albert Astals Cid <aacid@kde.org> | 2019-10-20 19:11:15 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2019-10-20 19:12:02 +0200 |
commit | f197ca2dc7b5f70392e99e18917fb39f20cfc585 (patch) | |
tree | 20a92e81c17d98e99dc5f6831775a05e9687b5fd /poppler/SplashOutputDev.cc | |
parent | 3d6e70f763285f4e72188309164099e2dc06559c (diff) |
CharCodeToUnicode::mapToUnicode: Make clear the data is const
Diffstat (limited to 'poppler/SplashOutputDev.cc')
-rw-r--r-- | poppler/SplashOutputDev.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc index e89e8e85..140be47a 100644 --- a/poppler/SplashOutputDev.cc +++ b/poppler/SplashOutputDev.cc @@ -2233,7 +2233,7 @@ void SplashOutputDev::drawChar(GfxState *state, double x, double y, double dx, double dy, double originX, double originY, CharCode code, int nBytes, - Unicode *u, int uLen) { + const Unicode *u, int uLen) { SplashPath *path; int render; bool doFill, doStroke, doClip, strokeAdjust; @@ -2343,7 +2343,7 @@ void SplashOutputDev::drawChar(GfxState *state, double x, double y, bool SplashOutputDev::beginType3Char(GfxState *state, double x, double y, double dx, double dy, - CharCode code, Unicode *u, int uLen) { + CharCode code, const Unicode *u, int uLen) { GfxFont *gfxFont; const Ref *fontID; const double *ctm, *bbox; |