Do not copy a Dict, get a reference instead. Fixes FTBFS.

This commit is contained in:
Jerry James 2018-03-24 20:03:05 -06:00
parent 29be374d96
commit 8f2dd7dbd5
1 changed files with 2 additions and 2 deletions

View File

@ -419,8 +419,8 @@ diff -up texlive-base-20170520/source/texk/web2c/pdftexdir/pdftoepdf.cc.newpoppl
+*/
+// 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++) {