summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-06-21 20:02:27 +0200
committerAlbert Astals Cid <aacid@kde.org>2019-06-21 20:06:18 +0200
commit56582f515667074ea5d53b7eae1f9451756bb697 (patch)
tree3638f3b62635130f6100db05139e7f9f9ac5ef99 /splash
parent9de727a969896c5b43f2370c1fb3a1a011bc7ee3 (diff)
Splash: Rename local variable to fix shadow warning
Diffstat (limited to 'splash')
-rw-r--r--splash/Splash.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc
index dea728dd..654608cf 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -367,20 +367,20 @@ void Splash::pipeRun(SplashPipe *pipe) {
#ifdef SPLASH_CMYK
if (bitmap->mode == splashModeCMYK8 || bitmap->mode == splashModeDeviceN8) {
if (state->fillOverprint && state->overprintMode && pipe->pattern->isCMYK()) {
- unsigned int mask = 15;
+ unsigned int overprintMask = 15;
if (pipe->cSrcVal[0] == 0) {
- mask &= ~1;
+ overprintMask &= ~1;
}
if (pipe->cSrcVal[1] == 0) {
- mask &= ~2;
+ overprintMask &= ~2;
}
if (pipe->cSrcVal[2] == 0) {
- mask &= ~4;
+ overprintMask &= ~4;
}
if (pipe->cSrcVal[3] == 0) {
- mask &= ~8;
+ overprintMask &= ~8;
}
- state->overprintMask = mask;
+ state->overprintMask = overprintMask;
}
}
#endif