Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2070)

Unified Diff: core/src/fpdfdoc/doc_link.cpp

Issue 1194933003: Make CPDF_Object::GetString() a virtual method. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/src/fpdfdoc/doc_link.cpp
diff --git a/core/src/fpdfdoc/doc_link.cpp b/core/src/fpdfdoc/doc_link.cpp
index fdae96ac2ec2e97a6336b4990bfc25f1ac09bf9a..445396b48f042e39a00119686fe943c708b1a58b 100644
--- a/core/src/fpdfdoc/doc_link.cpp
+++ b/core/src/fpdfdoc/doc_link.cpp
@@ -73,7 +73,7 @@ void CPDF_LinkList::LoadPageLinks(CPDF_Page* pPage, CFX_PtrArray* pList)
if (pAnnot == NULL) {
continue;
}
- if (pAnnot->GetString("Subtype") != "Link") {
+ if (pAnnot->GetStringAt("Subtype") != "Link") {
continue;
}
pList->Add(pAnnot);

Powered by Google App Engine
This is Rietveld 408576698