diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-04-04 04:08:11 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-04-04 04:08:11 +0000 |
commit | d41d51473e803533f53d8f61321e79592e4d1c2d (patch) | |
tree | c358f05fdb11a86a9bef6fa47518e5369ee75dc0 /Build | |
parent | b81b2e87126a2ad3a7e5cdde5ec3db64130e9839 (diff) |
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
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 10 | ||||
-rw-r--r-- | 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 <h.y.acetaminophen@gmail.com> +2018-04-04 Jerry James <loganjerry@gmail.com> + + * pdftoepdf-newpoppler.cc: Do not copy a Dict, get a reference instead. + +2018-03-24 Hironobu Yamashita <h.y.acetaminophen@gmail.com> Hironori Kitagawa <h_kitagawa2001@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@gmail.com> +2018-01-25 Hironobu Yamashita <h.y.acetaminophen@gmail.com> and Karl Berry <karl@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@gmail.com> +2018-01-01 Pali Roh\'ar <pali.rohar@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. 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++) { |