summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fpdfapi/parser/cpdf_data_avail.cpp8
-rw-r--r--core/fpdfapi/parser/cpdf_data_avail.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/core/fpdfapi/parser/cpdf_data_avail.cpp b/core/fpdfapi/parser/cpdf_data_avail.cpp
index 6f12260eae..05f8272171 100644
--- a/core/fpdfapi/parser/cpdf_data_avail.cpp
+++ b/core/fpdfapi/parser/cpdf_data_avail.cpp
@@ -1568,14 +1568,6 @@ bool CPDF_DataAvail::CheckResources(DownloadHints* pHints) {
return true;
}
-void CPDF_DataAvail::GetLinearizedMainXRefInfo(FX_FILESIZE* pPos,
- uint32_t* pSize) {
- if (pPos)
- *pPos = m_dwLastXRefOffset;
- if (pSize)
- *pSize = (uint32_t)(m_dwFileLen - m_dwLastXRefOffset);
-}
-
int CPDF_DataAvail::GetPageCount() const {
if (m_pLinearized)
return m_pLinearized->GetPageCount();
diff --git a/core/fpdfapi/parser/cpdf_data_avail.h b/core/fpdfapi/parser/cpdf_data_avail.h
index f47c859697..596fb0bd2e 100644
--- a/core/fpdfapi/parser/cpdf_data_avail.h
+++ b/core/fpdfapi/parser/cpdf_data_avail.h
@@ -107,7 +107,6 @@ class CPDF_DataAvail final {
DocFormStatus IsFormAvail(DownloadHints* pHints);
DocLinearizationStatus IsLinearizedPDF();
bool IsLinearized();
- void GetLinearizedMainXRefInfo(FX_FILESIZE* pPos, uint32_t* pSize);
CFX_RetainPtr<IFX_SeekableReadStream> GetFileRead() const {
return m_pFileRead;
}