From d41d51473e803533f53d8f61321e79592e4d1c2d Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Wed, 4 Apr 2018 04:08:11 +0000 Subject: Do not copy a Dict, get a reference instead. (Jerry James) git-svn-id: svn://tug.org/texlive/trunk@47281 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/ChangeLog | 10 +++++++--- Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 733248f8c08..d650c6ba685 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,4 +1,8 @@ -2018-03-24 Hironobu Yamashita +2018-04-04 Jerry James + + * pdftoepdf-newpoppler.cc: Do not copy a Dict, get a reference instead. + +2018-03-24 Hironobu Yamashita Hironori Kitagawa * 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 +2018-01-25 Hironobu Yamashita and Karl Berry * 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 +2018-01-01 Pali Roh\'ar Patch 1: explicitly detect bitmap PK font in fm_scan_line, instead of the implicit check of ps_name and ff_name being NULL. diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc index d01960fb108..10fea2999b6 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc +++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc @@ -968,8 +968,8 @@ The changes below seem to work fine. */ // 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++) { -- cgit v1.2.3