Index: core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
index 05a5e040e36268af0baeab36653802f6ba3e3765..a40284a1f8b765005635c75db244cf2d87c1e721 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
@@ -319,7 +319,7 @@ FX_BOOL CPDF_Type3Char::LoadBitmap(CPDF_RenderContext* pContext) { |
if (m_pForm->CountObjects() == 1 && !m_bColored) { |
CPDF_PageObject* pPageObj = |
m_pForm->GetObjectAt(m_pForm->GetFirstObjectPosition()); |
- if (pPageObj->m_Type == PDFPAGE_IMAGE) { |
+ if (pPageObj->m_Type == CPDF_PageObject::IMAGE) { |
CPDF_ImageObject* pImage = (CPDF_ImageObject*)pPageObj; |
m_ImageMatrix = pImage->m_Matrix; |
const CFX_DIBSource* pSource = pImage->m_pImage->LoadDIBSource(); |