diff options
author | Albert Astals Cid <aacid@kde.org> | 2019-11-29 15:45:37 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2019-11-29 15:51:02 +0100 |
commit | 42efcb738cd5924215249c55dd2d0ff7f517d6b5 (patch) | |
tree | b140d1b982744f76bcc7bc1e10977b76fe70690e /splash | |
parent | ec2b036e0029e94183a87471c83577336bbaedda (diff) |
Enable readability-inconsistent-declaration-parameter-name
Diffstat (limited to 'splash')
-rw-r--r-- | splash/Splash.cc | 4 | ||||
-rw-r--r-- | splash/Splash.h | 4 | ||||
-rw-r--r-- | splash/SplashFTFontFile.h | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc index 6e30fd80..9ae4bd30 100644 --- a/splash/Splash.cc +++ b/splash/Splash.cc @@ -1759,8 +1759,8 @@ void Splash::setFillOverprint(bool fop) { state->fillOverprint = fop; } -void Splash::setStrokeOverprint(bool gop) { - state->strokeOverprint = gop; +void Splash::setStrokeOverprint(bool sop) { + state->strokeOverprint = sop; } void Splash::setOverprintMode(int opm) { diff --git a/splash/Splash.h b/splash/Splash.h index 571bcba5..54f55220 100644 --- a/splash/Splash.h +++ b/splash/Splash.h @@ -115,8 +115,8 @@ public: //----- state write void setMatrix(SplashCoord *matrix); - void setStrokePattern(SplashPattern *strokeColor); - void setFillPattern(SplashPattern *fillColor); + void setStrokePattern(SplashPattern *strokePattern); + void setFillPattern(SplashPattern *fillPattern); void setScreen(SplashScreen *screen); void setBlendFunc(SplashBlendFunc func); void setStrokeAlpha(SplashCoord alpha); diff --git a/splash/SplashFTFontFile.h b/splash/SplashFTFontFile.h index e5e0e940..b2217004 100644 --- a/splash/SplashFTFontFile.h +++ b/splash/SplashFTFontFile.h @@ -14,6 +14,7 @@ // Copyright (C) 2006 Takashi Iwai <tiwai@suse.de> // Copyright (C) 2017, 2018 Oliver Sander <oliver.sander@tu-dresden.de> // Copyright (C) 2017 Adrian Johnson <ajohnson@redneon.com> +// Copyright (C) 2019 Albert Astals Cid <aacid@kde.org> // // To see a description of the changes please see the Changelog file that // came with your tarball or type make ChangeLog if you are building from git @@ -43,7 +44,7 @@ public: static SplashFontFile *loadCIDFont(SplashFTFontEngine *engineA, SplashFontFileID *idA, SplashFontSrc *src, - int *codeToCIDA, int codeToGIDLenA); + int *codeToGIDA, int codeToGIDLenA); static SplashFontFile *loadTrueTypeFont(SplashFTFontEngine *engineA, SplashFontFileID *idA, SplashFontSrc *src, |