summaryrefslogtreecommitdiff
path: root/poppler/SplashOutputDev.cc
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2020-01-17 17:39:17 +0100
committerAlbert Astals Cid <aacid@kde.org>2020-01-17 17:39:17 +0100
commit1f82b0a455659a41b321c9a73c82a38fe4318159 (patch)
treef382d31ea2284fca1bc812e157f4481e6da58183 /poppler/SplashOutputDev.cc
parentf7c420c2859ec6774480e237d5a87af7e8807726 (diff)
Remove unused SplashOutputDev variable/function
Diffstat (limited to 'poppler/SplashOutputDev.cc')
-rw-r--r--poppler/SplashOutputDev.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 7208f5af..dbbd29a9 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -15,7 +15,7 @@
//
// Copyright (C) 2005 Takashi Iwai <tiwai@suse.de>
// Copyright (C) 2006 Stefan Schweizer <genstef@gentoo.org>
-// Copyright (C) 2006-2019 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2006-2020 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2006 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
// Copyright (C) 2006 Scott Turner <scotty1024@mac.com>
// Copyright (C) 2007 Koji Otani <sho@bbr.jp>
@@ -1283,7 +1283,6 @@ SplashOutputDev::SplashOutputDev(SplashColorMode colorModeA,
needFontUpdate = false;
textClipPath = nullptr;
transpGroupStack = nullptr;
- nestCount = 0;
xref = nullptr;
}
@@ -2499,7 +2498,6 @@ void SplashOutputDev::endType3Char(GfxState *state) {
T3GlyphStack *t3gs;
if (t3GlyphStack->cacheTag) {
- --nestCount;
memcpy(t3GlyphStack->cacheData, bitmap->getDataPtr(),
t3GlyphStack->cache->glyphSize);
delete bitmap;
@@ -2657,7 +2655,6 @@ void SplashOutputDev::type3D1(GfxState *state, double wx, double wy,
state->setCTM(ctm[0], ctm[1], ctm[2], ctm[3],
-t3Font->glyphX, -t3Font->glyphY);
updateCTM(state, 0, 0, 0, 0, 0, 0);
- ++nestCount;
}
void SplashOutputDev::drawType3Glyph(GfxState *state, T3FontCache *t3Font,
@@ -4098,12 +4095,10 @@ void SplashOutputDev::beginTransparencyGroup(GfxState *state, const double *bbox
transpGroup->tBitmap = bitmap;
state->shiftCTMAndClip(-tx, -ty);
updateCTM(state, 0, 0, 0, 0, 0, 0);
- ++nestCount;
}
void SplashOutputDev::endTransparencyGroup(GfxState *state) {
// restore state
- --nestCount;
delete splash;
bitmap = transpGroupStack->origBitmap;
colorMode = bitmap->getMode();