texlive[47281] Build/source/texk/web2c/pdftexdir: Do not copy a Dict,

commits+kakuto at tug.org commits+kakuto at tug.org
Wed Apr 4 06:08:11 CEST 2018


Revision: 47281
          http://tug.org/svn/texlive?view=revision&revision=47281
Author:   kakuto
Date:     2018-04-04 06:08:11 +0200 (Wed, 04 Apr 2018)
Log Message:
-----------
Do not copy a Dict, get a reference instead. (Jerry James)

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
    trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc

Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2018-04-04 01:22:42 UTC (rev 47280)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2018-04-04 04:08:11 UTC (rev 47281)
@@ -1,4 +1,8 @@
-2018-03-24  Hironobu Yamashita <h.y.acetaminophen at gmail.com>
+2018-04-04  Jerry James  <loganjerry at gmail.com>
+
+	* pdftoepdf-newpoppler.cc: Do not copy a Dict, get a reference instead.
+
+2018-03-24  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
             Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
 
 	* pdftex.ch: Recover the right \lastnodetype initialization
@@ -16,7 +20,7 @@
 	* pdftex.web: pdftex_revision=="19".
 	Reported by Uwe Siart, 2018-03-06.
 
-2018-01-25  Hironobu Yamashita <h.y.acetaminophen at gmail.com>
+2018-01-25  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
         and Karl Berry  <karl at freefriends.org>
 
 	* writefont.c (font_is_used): import LuaTeX's font_has_subset
@@ -34,7 +38,7 @@
 	(slow_print_substr): new procedure, although surely there's
 	already a way to print a substring of a pool string.
 
-2018-01-01  Pali Roh\'ar <pali.rohar at gmail.com>
+2018-01-01  Pali Roh\'ar  <pali.rohar at gmail.com>
 
 	Patch 1: explicitly detect bitmap PK font in fm_scan_line,
 	instead of the implicit check of ps_name and ff_name being NULL.

Modified: trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc	2018-04-04 01:22:42 UTC (rev 47280)
+++ trunk/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc	2018-04-04 04:08:11 UTC (rev 47281)
@@ -968,8 +968,8 @@
 */
 // begin modification
             groupDict = pageDict->lookup("Group");
-            Dict dic1 = page->getGroup();
-            Dict dic2 = groupDict.getDict();
+            const Dict& dic1 = page->getGroup();
+            const Dict& dic2 = groupDict.getDict();
             // replace dic2 in groupDict with dic1
             l = dic2.getLength();
             for (i = 0; i < l; i++) {



More information about the tex-live-commits mailing list