| Index: core/fpdfdoc/doc_annot.cpp
|
| diff --git a/core/fpdfdoc/doc_annot.cpp b/core/fpdfdoc/doc_annot.cpp
|
| index 276516589af57715c03d2604a34b8f2d3e849f1f..ca900acb9a1e2c911b9ec89be5082f01fe738098 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))
|
| + if (value.IsEmpty() || !pDict->KeyExist(value.AsByteStringC()))
|
| as = "Off";
|
| else
|
| as = value;
|
| }
|
| - return pDict->GetStreamBy(as);
|
| + return pDict->GetStreamBy(as.AsByteStringC());
|
| }
|
| return nullptr;
|
| }
|
|
|