FontInfo: Save unneeded copy() call
diff --git a/poppler/FontInfo.cc b/poppler/FontInfo.cc
index 161e597..a6dd5a7 100644
--- a/poppler/FontInfo.cc
+++ b/poppler/FontInfo.cc
@@ -131,7 +131,7 @@
Object objDict = resDict->lookup(resTypes[resType]);
if (objDict.isDict()) {
for (int i = 0; i < objDict.dictGetLength(); ++i) {
- const Object &resObj = objDict.dictGetValNF(i).copy();
+ const Object &resObj = objDict.dictGetValNF(i);
if (resObj.isRef()) {
// check for an already-seen object
const Ref r = resObj.getRef();