diff options
author | Oliver Sander <oliver.sander@tu-dresden.de> | 2018-09-12 21:34:12 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2018-10-05 01:29:12 +0200 |
commit | 588d96b572a28e5b0bef55e152d134b62818f85a (patch) | |
tree | 9cb41ddfa89dafd1fe306820f6f058ff72b7f2fd /splash | |
parent | d248d3e59165824ca5279db4c451d63f762f1ac3 (diff) |
Make SplashFont::matches a const method
Diffstat (limited to 'splash')
-rw-r--r-- | splash/SplashFont.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/SplashFont.h b/splash/SplashFont.h index 2bc5a8a1..ab3de8f1 100644 --- a/splash/SplashFont.h +++ b/splash/SplashFont.h @@ -66,7 +66,7 @@ public: // Return true if <this> matches the specified font file and matrix. GBool matches(SplashFontFile *fontFileA, SplashCoord *matA, - const SplashCoord *textMatA) { + const SplashCoord *textMatA) const { return fontFileA == fontFile && matA[0] == mat[0] && matA[1] == mat[1] && matA[2] == mat[2] && matA[3] == mat[3] && |