Index: fpdfsdk/src/fsdk_mgr.cpp |
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp |
index 003753223f95252fa45d9bfc0e56da68ce0af3bb..03ce3aba6d48a487b8b6820601a792b06e69e23a 100644 |
--- a/fpdfsdk/src/fsdk_mgr.cpp |
+++ b/fpdfsdk/src/fsdk_mgr.cpp |
@@ -732,7 +732,7 @@ CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Annot * pPDFAnnot) |
CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(CPDF_Dictionary * pDict) |
{ |
- return pDict ? AddAnnot(pDict->GetString("Subtype"), pDict) : nullptr; |
+ return pDict ? AddAnnot(pDict->GetStringAt("Subtype"), pDict) : nullptr; |
} |
CPDFSDK_Annot* CPDFSDK_PageView::AddAnnot(const FX_CHAR* lpSubType,CPDF_Dictionary * pDict) |