Index: core/fpdfdoc/doc_link.cpp |
diff --git a/core/fpdfdoc/doc_link.cpp b/core/fpdfdoc/doc_link.cpp |
index 3f97024237273b733c8168a8ef6edc9a71ab83c3..723955f9eacc55c99c9d465a0cdf8d5fd30baf37 100644 |
--- a/core/fpdfdoc/doc_link.cpp |
+++ b/core/fpdfdoc/doc_link.cpp |
@@ -75,7 +75,7 @@ CFX_FloatRect CPDF_Link::GetRect() { |
return m_pDict->GetRectBy("Rect"); |
} |
CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc) { |
- CPDF_Object* pDest = m_pDict->GetElementValue("Dest"); |
+ CPDF_Object* pDest = m_pDict->GetDirectObjectBy("Dest"); |
if (!pDest) |
return CPDF_Dest(); |