summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_document.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp
index c597a1dab3..677dd835f8 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())