| Index: core/fpdfdoc/doc_ocg.cpp
|
| diff --git a/core/fpdfdoc/doc_ocg.cpp b/core/fpdfdoc/doc_ocg.cpp
|
| index dc49ab0fd792dec8a50773e7e97325c5fdeacdd2..1251cb20e321bbcd0f9ffdc3a2e130e088b7f3f4 100644
|
| --- a/core/fpdfdoc/doc_ocg.cpp
|
| +++ b/core/fpdfdoc/doc_ocg.cpp
|
| @@ -185,7 +185,7 @@ bool CPDF_OCContext::GetOCGVisible(const CPDF_Dictionary* pOCGDict) {
|
| }
|
|
|
| bool CPDF_OCContext::CheckObjectVisible(const CPDF_PageObject* pObj) {
|
| - const CPDF_ContentMarkData* pData = pObj->m_ContentMark;
|
| + const CPDF_ContentMarkData* pData = pObj->m_ContentMark.GetObject();
|
| for (int i = 0; i < pData->CountItems(); i++) {
|
| const CPDF_ContentMarkItem& item = pData->GetItem(i);
|
| if (item.GetName() == "OC" &&
|
|
|