Index: core/fpdfdoc/doc_utils.cpp |
diff --git a/core/fpdfdoc/doc_utils.cpp b/core/fpdfdoc/doc_utils.cpp |
index 05197380a6513d55ea5a533c78282e603c26d3c3..ccef7feb57a3a38d537276c9c04295fc98cd7f70 100644 |
--- a/core/fpdfdoc/doc_utils.cpp |
+++ b/core/fpdfdoc/doc_utils.cpp |
@@ -467,7 +467,7 @@ CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, |
if (!pFind) { |
continue; |
} |
- CFX_SubstFont* pSubst = (CFX_SubstFont*)pFind->GetSubstFont(); |
+ CFX_SubstFont* pSubst = pFind->GetSubstFont(); |
if (!pSubst) { |
continue; |
} |
@@ -486,7 +486,7 @@ CPDF_Font* GetNativeInterFormFont(CPDF_Dictionary* pFormDict, |
CFX_SubstFont* pSubst; |
CPDF_Font* pFont = GetDefaultInterFormFont(pFormDict, pDocument); |
if (pFont) { |
- pSubst = (CFX_SubstFont*)pFont->GetSubstFont(); |
+ pSubst = pFont->GetSubstFont(); |
if (pSubst && pSubst->m_Charset == (int)charSet) { |
FindInterFormFont(pFormDict, pFont, csNameTag); |
return pFont; |