Index: core/fpdfdoc/doc_link.cpp |
diff --git a/core/fpdfdoc/doc_link.cpp b/core/fpdfdoc/doc_link.cpp |
index 8f8d0d158ca3a1ab088569d96585eca932385c5b..07cc9f26ffb31064f40006156c358dc16457c93e 100644 |
--- a/core/fpdfdoc/doc_link.cpp |
+++ b/core/fpdfdoc/doc_link.cpp |
@@ -82,7 +82,7 @@ CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc) { |
if (pDest->IsString() || pDest->IsName()) { |
CPDF_NameTree name_tree(pDoc, "Dests"); |
return CPDF_Dest( |
- name_tree.LookupNamedDest(pDoc, pDest->GetString().AsByteStringC())); |
+ name_tree.LookupNamedDest(pDoc, pDest->GetString().AsStringC())); |
} |
if (CPDF_Array* pArray = pDest->AsArray()) |
return CPDF_Dest(pArray); |