goo/JpegWriter.cc |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 6ef17493c7d5344aba4278017724746e63659f7f
Author: Albert Astals Cid <[email protected]>
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 <[email protected]>
 // Copyright (C) 2011 Thomas Freitag <[email protected]>
 // Copyright (C) 2013 Peter Breitenlohner <[email protected]>
-// Copyright (C) 2017 Albert Astals Cid <[email protected]>
+// Copyright (C) 2017, 2018 Albert Astals Cid <[email protected]>
 // Copyright (C) 2018 Martin Packman <[email protected]>
 //
 //========================================================================
@@ -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()
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to