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

Unified Diff: fpdfsdk/src/fpdf_ext.cpp

Issue 1157773012: Cleanup: Make CPDF_Annot::m_pAnnotDict private. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 6 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: fpdfsdk/src/fpdf_ext.cpp
diff --git a/fpdfsdk/src/fpdf_ext.cpp b/fpdfsdk/src/fpdf_ext.cpp
index 2dc8d78a29270033ef9baf12f145647a619eb9a9..2a2f3ae096b492f9881a11091e46117498c97a2e 100644
--- a/fpdfsdk/src/fpdf_ext.cpp
+++ b/fpdfsdk/src/fpdf_ext.cpp
@@ -64,7 +64,7 @@ void CheckUnSupportAnnot(CPDF_Document * pDoc, CPDF_Annot* pPDFAnnot)
}
else if(cbSubType.Compare("Screen") ==0)
{
- CPDF_Dictionary* pAnnotDict = pPDFAnnot->m_pAnnotDict;
+ CPDF_Dictionary* pAnnotDict = pPDFAnnot->GetAnnotDict();
CFX_ByteString cbString;
if(pAnnotDict->KeyExist("IT"))
Tom Sepez 2015/06/05 21:15:30 This, and the "FT" key below, might be handled the
Lei Zhang 2015/06/05 22:25:47 Acknowledged.
cbString = pAnnotDict->GetString("IT");
@@ -89,7 +89,7 @@ void CheckUnSupportAnnot(CPDF_Document * pDoc, CPDF_Annot* pPDFAnnot)
}
else if(cbSubType.Compare("Widget") ==0)
{
- CPDF_Dictionary* pAnnotDict = pPDFAnnot->m_pAnnotDict;
+ CPDF_Dictionary* pAnnotDict = pPDFAnnot->GetAnnotDict();
CFX_ByteString cbString;
if(pAnnotDict->KeyExist("FT"))
{

Powered by Google App Engine
This is Rietveld 408576698