summaryrefslogtreecommitdiff
path: root/poppler/SplashOutputDev.cc
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2019-04-22 12:58:35 +0200
committerAlbert Astals Cid <aacid@kde.org>2019-04-22 13:06:43 +0200
commit16f34af3cda7f8e5647c50027ed032952d9afe0e (patch)
tree671f0e3f4ae1a956d3a764457766327dfc1affde /poppler/SplashOutputDev.cc
parent310fd7c1465be424126bd8f3d853036178df72b9 (diff)
NULL -> nullptr
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 51d2191d..99501a0b 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -2999,7 +2999,7 @@ bool SplashOutputDev::useIccImageSrc(void *data) {
break;
#ifdef SPLASH_CMYK
case splashModeCMYK8:
- if (colorSpace->getAlt() != NULL && colorSpace->getAlt()->getMode() == csDeviceCMYK)
+ if (colorSpace->getAlt() != nullptr && colorSpace->getAlt()->getMode() == csDeviceCMYK)
return true;
break;
#endif
@@ -3587,7 +3587,7 @@ void SplashOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
#ifdef SPLASH_CMYK
setOverprintMask(colorMap->getColorSpace(), state->getFillOverprint(),
- state->getOverprintMode(), NULL, grayIndexed);
+ state->getOverprintMode(), nullptr, grayIndexed);
#else
setOverprintMask(colorMap->getColorSpace(), state->getFillOverprint(),
state->getOverprintMode(), nullptr);