Index: fpdfsdk/cpdfsdk_document.cpp |
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp |
index c597a1dab3b07709c170b76be6c6394c20086fc6..677dd835f811020dfdc13001de478ee036326d0d 100644 |
--- a/fpdfsdk/cpdfsdk_document.cpp |
+++ b/fpdfsdk/cpdfsdk_document.cpp |
@@ -128,14 +128,6 @@ FX_BOOL CPDFSDK_Document::ProcOpenAction() { |
return FALSE; |
} |
-CPDF_OCContext* CPDFSDK_Document::GetOCContext() { |
- if (!m_pOccontent) { |
- m_pOccontent.reset( |
- new CPDF_OCContext(GetPDFDocument(), CPDF_OCContext::View)); |
- } |
- return m_pOccontent.get(); |
-} |
- |
void CPDFSDK_Document::RemovePageView(UnderlyingPageType* pUnderlyingPage) { |
auto it = m_pageMap.find(pUnderlyingPage); |
if (it == m_pageMap.end()) |