diff options
Diffstat (limited to 'core/fpdfapi/parser/cpdf_hint_tables.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_hint_tables.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/fpdfapi/parser/cpdf_hint_tables.cpp b/core/fpdfapi/parser/cpdf_hint_tables.cpp index f4f87d59e6..71a6d3688e 100644 --- a/core/fpdfapi/parser/cpdf_hint_tables.cpp +++ b/core/fpdfapi/parser/cpdf_hint_tables.cpp @@ -51,16 +51,6 @@ CPDF_HintTables::CPDF_HintTables(CPDF_ReadValidator* pValidator, CPDF_HintTables::~CPDF_HintTables() {} -uint32_t CPDF_HintTables::GetItemLength( - uint32_t index, - const std::vector<FX_FILESIZE>& szArray) const { - if (szArray.size() < 2 || index > szArray.size() - 2 || - szArray[index] > szArray[index + 1]) { - return 0; - } - return szArray[index + 1] - szArray[index]; -} - bool CPDF_HintTables::ReadPageHintTable(CFX_BitStream* hStream) { const uint32_t nPages = m_pLinearized->GetPageCount(); if (nPages < 1 || nPages >= CPDF_Document::kPageMaxNum) |