summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-29 14:42:49 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-29 22:12:42 +0000
commit9648097c53a5b708d4711cc4e17f6bd9010ba459 (patch)
treeee3b73150a963ef5f2fb069dda2423942ec391af /xfa
parent77f9bff2c229df771a43448a9d5087e042235936 (diff)
downloadpdfium-9648097c53a5b708d4711cc4e17f6bd9010ba459.tar.xz
Remove an unused CXFA_FFDoc method.chromium/3200
Change-Id: If2a8e608498c505440405e7eff675969ac4b195a Reviewed-on: https://pdfium-review.googlesource.com/12330 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fxfa/cxfa_ffdoc.cpp5
-rw-r--r--xfa/fxfa/cxfa_ffdoc.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp
index 3ed0ea0455..4755a17cc7 100644
--- a/xfa/fxfa/cxfa_ffdoc.cpp
+++ b/xfa/fxfa/cxfa_ffdoc.cpp
@@ -282,11 +282,6 @@ CXFA_FFDocView* CXFA_FFDoc::GetDocView() {
return m_DocView.get();
}
-bool CXFA_FFDoc::OpenDoc(const CFX_RetainPtr<IFX_SeekableStream>& pStream) {
- m_pStream = pStream;
- return true;
-}
-
bool CXFA_FFDoc::OpenDoc(CPDF_Document* pPDFDoc) {
if (!pPDFDoc)
return false;
diff --git a/xfa/fxfa/cxfa_ffdoc.h b/xfa/fxfa/cxfa_ffdoc.h
index a43dae3caa..984d8b6507 100644
--- a/xfa/fxfa/cxfa_ffdoc.h
+++ b/xfa/fxfa/cxfa_ffdoc.h
@@ -61,7 +61,6 @@ class CXFA_FFDoc {
CXFA_FFDocView* CreateDocView();
- bool OpenDoc(const CFX_RetainPtr<IFX_SeekableStream>& pStream);
bool OpenDoc(CPDF_Document* pPDFDoc);
void CloseDoc();