Index: core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
diff --git a/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp b/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
index 6b1958298cac3c197e54c37cbf3157d79f45e2ef..a9f20a9093b0402580d0b14353fadcec1b591577 100644 |
--- a/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
+++ b/core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp |
@@ -82,7 +82,7 @@ int32_t GetHeaderOffset(IFX_FileRead* pFile) { |
} |
int32_t GetDirectInteger(CPDF_Dictionary* pDict, const CFX_ByteString& key) { |
- CPDF_Number* pObj = ToNumber(pDict->GetObjectBy(key)); |
+ CPDF_Number* pObj = ToNumber(pDict->GetObjectFor(key)); |
return pObj ? pObj->GetInteger() : 0; |
} |