summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-05 16:55:07 -0800
committerLei Zhang <thestig@chromium.org>2016-01-05 16:55:07 -0800
commit6caae4d3c6815c5a1e12340734412a3bc7548652 (patch)
tree95ce5992c8fe88d9204ce9eb88251bd1a0b12a85 /core/include/fpdfapi
parentd794d34b5deb6ad691c19af758090f9ce46015a3 (diff)
downloadpdfium-6caae4d3c6815c5a1e12340734412a3bc7548652.tar.xz
Replace CPDF_SortObjNumArray with a std::set.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1566553002 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index bcb35b0ad6..1b1b022fc6 100644
--- a/core/include/fpdfapi/fpdf_parser.h
+++ b/core/include/fpdfapi/fpdf_parser.h
@@ -915,20 +915,7 @@ class IPDF_DataAvail {
IFX_FileAvail* m_pFileAvail;
IFX_FileRead* m_pFileRead;
};
-class CPDF_SortObjNumArray {
- public:
- void AddObjNum(FX_DWORD dwObjNum);
-
- FX_BOOL Find(FX_DWORD dwObjNum);
- void RemoveAll() { m_number_array.RemoveAll(); }
-
- protected:
- FX_BOOL BinarySearch(FX_DWORD value, int& iNext);
-
- protected:
- CFX_DWordArray m_number_array;
-};
enum PDF_PAGENODE_TYPE {
PDF_PAGENODE_UNKOWN = 0,
PDF_PAGENODE_PAGE,