diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-01-25 12:15:28 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-01-25 12:15:28 -0800 |
commit | 02056fae83c8136195c8eb2a00c3606f600a8b6a (patch) | |
tree | d821b227fc58812888958c83afedbcd3210f8bb1 /core/include/fpdfapi/fpdf_parser.h | |
parent | 33ea6308c45f1ea8ee7dd1f77852a255ef176301 (diff) | |
download | pdfium-02056fae83c8136195c8eb2a00c3606f600a8b6a.tar.xz |
Remove unused IsContentUsedElsewhere()
Then CPDF_Object::GetDirectType() becomes unused.
Then GetIndirectType() becomes unused.
Then PDFPARSE_TYPEONLY becomes unused.
Then we can remove hideous casts of ints to ptrs.
Also, PDFPARSE_NOSTREAM is unused.
Then we can remove m_Flags from PARSE_CONTEXT.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1638493002 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_parser.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_parser.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h index ad4f1f9a9a..8b4472eb5d 100644 --- a/core/include/fpdfapi/fpdf_parser.h +++ b/core/include/fpdfapi/fpdf_parser.h @@ -194,7 +194,6 @@ class CPDF_Document : public CFX_PrivateData, public CPDF_IndirectObjectHolder { FX_DWORD objnum, int& index, int level = 0); - FX_BOOL IsContentUsedElsewhere(FX_DWORD objnum, CPDF_Dictionary* pPageDict); FX_BOOL CheckOCGVisible(CPDF_Dictionary* pOCG, FX_BOOL bPrinting); CPDF_DocPageData* GetValidatePageData(); CPDF_DocRenderData* GetValidateRenderData(); @@ -364,10 +363,7 @@ class CPDF_SyntaxParser { FX_FILESIZE m_dwWordPos; }; -#define PDFPARSE_TYPEONLY 1 -#define PDFPARSE_NOSTREAM 2 struct PARSE_CONTEXT { - uint32_t m_Flags; FX_FILESIZE m_DictStart; FX_FILESIZE m_DictEnd; FX_FILESIZE m_DataStart; |