[poppler] qt5/src
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Oct 5 16:46:43 UTC 2017
qt5/src/ArthurOutputDev.cc | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f538b74a38acb53b877e000a64647ce8043133ac
Author: Oliver Sander <oliver.sander at tu-dresden.de>
Date: Tue Oct 3 00:04:17 2017 +0200
qt5: ArthurOutputDev: Add missing 'return' in error paths
diff --git a/qt5/src/ArthurOutputDev.cc b/qt5/src/ArthurOutputDev.cc
index 14c79813..61c5990b 100644
--- a/qt5/src/ArthurOutputDev.cc
+++ b/qt5/src/ArthurOutputDev.cc
@@ -884,6 +884,7 @@ void ArthurOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref, Stream *
{
qDebug() << "Soft mask size does not match image size!";
drawImage(state, ref, str, width, height, colorMap, interpolate, nullptr, gFalse);
+ return;
}
// Bail out if the mask isn't a single channel. I don't know
@@ -892,6 +893,7 @@ void ArthurOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref, Stream *
{
qDebug() << "Soft mask is not a single 8-bit channel!";
drawImage(state, ref, str, width, height, colorMap, interpolate, nullptr, gFalse);
+ return;
}
/* TODO: Do we want to cache these? */
More information about the poppler
mailing list