utils/ImageOutputDev.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 248aa0f5832ce063a9ae061dfcf54596e0ea5fba Author: Albert Astals Cid <aa...@kde.org> Date: Sun Jan 28 00:25:38 2018 +0100 Fix build without libpng diff --git a/utils/ImageOutputDev.cc b/utils/ImageOutputDev.cc index 63f7399e..90e9ced5 100644 --- a/utils/ImageOutputDev.cc +++ b/utils/ImageOutputDev.cc @@ -13,7 +13,7 @@ // All changes made under the Poppler project to this file are licensed // under GPL version 2 or later // -// Copyright (C) 2005, 2007, 2011 Albert Astals Cid <aa...@kde.org> +// Copyright (C) 2005, 2007, 2011, 2018 Albert Astals Cid <aa...@kde.org> // Copyright (C) 2006 Rainer Keller <class...@gmx.de> // Copyright (C) 2008 Timothy Lee <timothy....@siriushk.com> // Copyright (C) 2008 Vasile Gaburici <gabur...@cs.umd.edu> @@ -620,9 +620,9 @@ void ImageOutputDev::writeImage(GfxState *state, Object *ref, Stream *str, } writeImageFile(writer, format, "png", str, width, height, colorMap); -#endif - delete writer; + delete writer; +#endif } else if (outputTiff) { // output in TIFF format _______________________________________________ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler