Index: core/fpdfdoc/doc_annot.cpp |
diff --git a/core/fpdfdoc/doc_annot.cpp b/core/fpdfdoc/doc_annot.cpp |
index 3b90b0b4b57a0b9ffbdad5940bdff3bcbb2bab58..42d4a665fe9b1b9bd8c976f0ec1513fa227b0c20 100644 |
--- a/core/fpdfdoc/doc_annot.cpp |
+++ b/core/fpdfdoc/doc_annot.cpp |
@@ -183,12 +183,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.AsStringC())) |
+ if (value.IsEmpty() || !pDict->KeyExist(value)) |
as = "Off"; |
else |
as = value; |
} |
- return pDict->GetStreamBy(as.AsStringC()); |
+ return pDict->GetStreamBy(as); |
} |
return nullptr; |
} |