[poppler] goo/JpegWriter.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Jul 20 22:14:22 UTC 2018
goo/JpegWriter.cc | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
New commits:
commit 6ef17493c7d5344aba4278017724746e63659f7f
Author: Albert Astals Cid <aacid at kde.org>
Date: Sat Jul 21 00:14:07 2018 +0200
JpegWriter: Use the C++11 cascading constructors
diff --git a/goo/JpegWriter.cc b/goo/JpegWriter.cc
index ff15fce5..16c97afe 100644
--- a/goo/JpegWriter.cc
+++ b/goo/JpegWriter.cc
@@ -9,7 +9,7 @@
// Copyright (C) 2010 Harry Roberts <harry.roberts at midnight-labs.org>
// Copyright (C) 2011 Thomas Freitag <Thomas.Freitag at alfa.de>
// Copyright (C) 2013 Peter Breitenlohner <peb at mppmu.mpg.de>
-// Copyright (C) 2017 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2017, 2018 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2018 Martin Packman <gzlist at googlemail.com>
//
//========================================================================
@@ -54,12 +54,8 @@ JpegWriter::JpegWriter(int q, bool p, Format formatA)
}
JpegWriter::JpegWriter(Format formatA)
+ : JpegWriter(-1, false, formatA)
{
- priv = new JpegWriterPrivate;
- priv->progressive = false;
- priv->optimize = false;
- priv->quality = -1;
- priv->format = formatA;
}
JpegWriter::~JpegWriter()
More information about the poppler
mailing list