Annot::initialize: Rename ref to pRef to not collide with Annot::ref
diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index a061a1b..e703b5b 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1229,9 +1229,9 @@
// Note: This value is overwritten by Annots ctor
const Object &pObj = dict->lookupNF("P");
if (pObj.isRef()) {
- const Ref ref = pObj.getRef();
+ const Ref pRef = pObj.getRef();
- page = doc->getCatalog()->findPage (ref);
+ page = doc->getCatalog()->findPage (pRef);
} else {
page = 0;
}