Index: core/fpdfdoc/doc_annot.cpp |
diff --git a/core/fpdfdoc/doc_annot.cpp b/core/fpdfdoc/doc_annot.cpp |
index d1942eccd0e3dce92332838fe7cc468947cbce4d..1db37ccdb317d75f21d494de3418613409483498 100644 |
--- a/core/fpdfdoc/doc_annot.cpp |
+++ b/core/fpdfdoc/doc_annot.cpp |
@@ -181,12 +181,12 @@ CPDF_Stream* FPDFDOC_GetAnnotAP(CPDF_Dictionary* pAnnotDict, |
CPDF_Dictionary* pDict = pAnnotDict->GetDictBy("Parent"); |
value = pDict ? pDict->GetStringBy("V") : CFX_ByteString(); |
} |
- if (value.IsEmpty() || !pDict->KeyExist(value.AsByteStringC())) |
+ if (value.IsEmpty() || !pDict->KeyExist(value.AsStringC())) |
as = "Off"; |
else |
as = value; |
} |
- return pDict->GetStreamBy(as.AsByteStringC()); |
+ return pDict->GetStreamBy(as.AsStringC()); |
} |
return nullptr; |
} |