Index: core/fpdfdoc/cpdf_link.cpp |
diff --git a/core/fpdfdoc/cpdf_link.cpp b/core/fpdfdoc/cpdf_link.cpp |
index 4859881198d3a6706c12c8ab5f81a818d7f0764f..b92b3cf45fe8bbdee6980bd9c56e3bf1d4084f51 100644 |
--- a/core/fpdfdoc/cpdf_link.cpp |
+++ b/core/fpdfdoc/cpdf_link.cpp |
@@ -10,11 +10,11 @@ |
#include "core/fpdfdoc/include/cpdf_nametree.h" |
CFX_FloatRect CPDF_Link::GetRect() { |
- return m_pDict->GetRectBy("Rect"); |
+ return m_pDict->GetRectFor("Rect"); |
} |
CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc) { |
- CPDF_Object* pDest = m_pDict->GetDirectObjectBy("Dest"); |
+ CPDF_Object* pDest = m_pDict->GetDirectObjectFor("Dest"); |
if (!pDest) |
return CPDF_Dest(); |
@@ -28,5 +28,5 @@ CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc) { |
} |
CPDF_Action CPDF_Link::GetAction() { |
- return CPDF_Action(m_pDict->GetDictBy("A")); |
+ return CPDF_Action(m_pDict->GetDictFor("A")); |
} |