Index: core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
index f1565cd9a2c3d3d1eb52e2c8fd620f63effccffa..a7df332337fe1cca5590505d371bf0c76ed3d837 100644 |
--- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
+++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
@@ -38,7 +38,7 @@ void CPDF_PageContentGenerator::GenerateContent() { |
CPDF_Dictionary* pPageDict = m_pPage->m_pFormDict; |
for (int i = 0; i < m_pageObjects.GetSize(); ++i) { |
CPDF_PageObject* pPageObj = m_pageObjects[i]; |
- if (!pPageObj || pPageObj->m_Type != PDFPAGE_IMAGE) { |
+ if (!pPageObj || pPageObj->m_Type != CPDF_PageObject::IMAGE) { |
continue; |
} |
ProcessImage(buf, (CPDF_ImageObject*)pPageObj); |