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 59fa1afb50b02a2b5de4d02adc989ce13a52a56b..36dbb97a6cd3d0f7748fecbab634ddf36f3824a4 100644 |
--- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
+++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp |
@@ -37,7 +37,7 @@ void CPDF_PageContentGenerate::GenerateContent() { |
CFX_ByteTextBuf buf; |
CPDF_Dictionary* pPageDict = m_pPage->m_pFormDict; |
for (int i = 0; i < m_pageObjects.GetSize(); ++i) { |
- CPDF_PageObject* pPageObj = (CPDF_PageObject*)m_pageObjects[i]; |
+ CPDF_PageObject* pPageObj = m_pageObjects[i]; |
if (!pPageObj || pPageObj->m_Type != PDFPAGE_IMAGE) { |
continue; |
} |