Index: core/src/fpdfdoc/doc_ocg.cpp |
diff --git a/core/src/fpdfdoc/doc_ocg.cpp b/core/src/fpdfdoc/doc_ocg.cpp |
index c2f77a58fa2354dc015d697956e3469c623a548a..318e9318cec7f703bcc6ffd5aacdafa48a26ac90 100644 |
--- a/core/src/fpdfdoc/doc_ocg.cpp |
+++ b/core/src/fpdfdoc/doc_ocg.cpp |
@@ -179,11 +179,11 @@ FX_BOOL CPDF_OCContext::GetOCGVisible(const CPDF_Dictionary *pOCGDict) |
if (!pOCGDict) { |
return FALSE; |
} |
- FX_LPVOID bState = NULL; |
+ void* bState = NULL; |
if (m_OCGStates.Lookup(pOCGDict, bState)) { |
return (uintptr_t)bState != 0; |
} |
- bState = (FX_LPVOID)(uintptr_t)LoadOCGState(pOCGDict); |
+ bState = (void*)(uintptr_t)LoadOCGState(pOCGDict); |
m_OCGStates.SetAt(pOCGDict, bState); |
return (uintptr_t)bState != 0; |
} |