Index: core/fpdfdoc/doc_link.cpp |
diff --git a/core/fpdfdoc/doc_link.cpp b/core/fpdfdoc/doc_link.cpp |
index 995290b9fb1d63525899cefbe21c477dec085631..5d21e1d9aa4985b361fe8876caae830169a19adf 100644 |
--- a/core/fpdfdoc/doc_link.cpp |
+++ b/core/fpdfdoc/doc_link.cpp |
@@ -81,8 +81,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().AsStringC())); |
+ return CPDF_Dest(name_tree.LookupNamedDest(pDoc, pDest->GetString())); |
} |
if (CPDF_Array* pArray = pDest->AsArray()) |
return CPDF_Dest(pArray); |