diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-19 15:11:20 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-19 15:11:20 -0700 |
commit | 59d60a587180cb6bbd49d4e739fb6ccd2b15d4d2 (patch) | |
tree | fe42aa2cd117253e8d46fd17ac634080ed633268 /core/include/fpdfapi/fpdf_pageobj.h | |
parent | e8d3691c82d1be805ffdce3329d00313af7ce0ab (diff) | |
download | pdfium-59d60a587180cb6bbd49d4e739fb6ccd2b15d4d2.tar.xz |
Cleanup: Remove dead CPDF_InlineImages code.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1192413007.
Diffstat (limited to 'core/include/fpdfapi/fpdf_pageobj.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_pageobj.h | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h index af186ad03b..22edf5d504 100644 --- a/core/include/fpdfapi/fpdf_pageobj.h +++ b/core/include/fpdfapi/fpdf_pageobj.h @@ -29,7 +29,6 @@ class CPDF_PathObject; class CPDF_ImageObject; class CPDF_ShadingObject; class CPDF_FormObject; -class CPDF_InlineImages; typedef CFX_PathData CPDF_PathData; class CPDF_Path : public CFX_CountRef<CFX_PathData> @@ -423,12 +422,13 @@ public: FX_BOOL LookupMark(const CFX_ByteStringC& mark, CPDF_Dictionary*& pDict) const; }; -#define PDFPAGE_TEXT 1 -#define PDFPAGE_PATH 2 -#define PDFPAGE_IMAGE 3 -#define PDFPAGE_SHADING 4 -#define PDFPAGE_FORM 5 -#define PDFPAGE_INLINES 6 + +#define PDFPAGE_TEXT 1 +#define PDFPAGE_PATH 2 +#define PDFPAGE_IMAGE 3 +#define PDFPAGE_SHADING 4 +#define PDFPAGE_FORM 5 + class CPDF_GraphicStates { public: @@ -700,23 +700,4 @@ protected: void CopyData(const CPDF_PageObject* pSrcObject) override; }; -class CPDF_InlineImages : public CPDF_PageObject -{ -public: - - CPDF_InlineImages(); - - virtual ~CPDF_InlineImages(); - - CPDF_Stream* m_pStream; - - CFX_DIBitmap* m_pBitmap; - - CFX_ArrayTemplate<CFX_AffineMatrix> m_Matrices; - - void AddMatrix(CFX_AffineMatrix& matrix); -protected: - void Transform(const CFX_AffineMatrix& matrix) override {} -}; - #endif // CORE_INCLUDE_FPDFAPI_FPDF_PAGEOBJ_H_ |