summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_data_avail.h
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-10-30 21:03:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-10-30 21:03:02 +0000
commitcaee9596e926a41a23fa0ddebd10d509db4b23ab (patch)
tree9864d853d3a8f4a9a506525781f9dfe858ad63e5 /core/fpdfapi/parser/cpdf_data_avail.h
parent5c02f12cfb3b6a9c27085a48093956f730762534 (diff)
downloadpdfium-caee9596e926a41a23fa0ddebd10d509db4b23ab.tar.xz
Remove useless code.
Change-Id: I5fa9472eecc176d25213fd446a4abc06e815a48b Reviewed-on: https://pdfium-review.googlesource.com/15592 Commit-Queue: Art Snake <art-snake@yandex-team.ru> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_data_avail.h')
-rw-r--r--core/fpdfapi/parser/cpdf_data_avail.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/fpdfapi/parser/cpdf_data_avail.h b/core/fpdfapi/parser/cpdf_data_avail.h
index a887d94901..2d46be1152 100644
--- a/core/fpdfapi/parser/cpdf_data_avail.h
+++ b/core/fpdfapi/parser/cpdf_data_avail.h
@@ -124,9 +124,6 @@ class CPDF_DataAvail final {
static const int kMaxPageRecursionDepth = 1024;
- bool AreObjectsAvailable(std::vector<CPDF_Object*>& obj_array,
- bool bParsePage,
- std::vector<CPDF_Object*>& ret_array);
bool CheckDocStatus();
bool CheckHeader();
bool CheckFirstPage();
@@ -159,9 +156,7 @@ class CPDF_DataAvail final {
bool LoadAllXref();
bool LoadAllFile();
DocAvailStatus CheckLinearizedData();
- bool CheckPageAnnots(uint32_t dwPage);
- DocAvailStatus CheckLinearizedFirstPage(uint32_t dwPage);
bool CheckPage(uint32_t dwPage);
bool LoadDocPages();
bool LoadDocPage(uint32_t dwPage);
@@ -194,8 +189,6 @@ class CPDF_DataAvail final {
PDF_DATAAVAIL_STATUS m_docStatus;
FX_FILESIZE m_dwFileLen;
CPDF_Document* m_pDocument;
- std::set<uint32_t> m_ObjectSet;
- std::vector<CPDF_Object*> m_objs_array;
FX_FILESIZE m_Pos;
FX_FILESIZE m_bufferOffset;
uint32_t m_bufferSize;