summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/fpdfapi/fpdf_objects.h')
-rw-r--r--core/include/fpdfapi/fpdf_objects.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index 7287814f9a..419d5fc23e 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -585,10 +585,6 @@ class CPDF_Null : public CPDF_Object {
};
class CPDF_Reference : public CPDF_Object {
public:
- static CPDF_Reference* Create(CPDF_IndirectObjects* pDoc, int objnum) {
- return new CPDF_Reference(pDoc, objnum);
- }
-
CPDF_Reference(CPDF_IndirectObjects* pDoc, int objnum)
: CPDF_Object(PDFOBJ_REFERENCE), m_pObjList(pDoc), m_RefObjNum(objnum) {}