From 80b597d3f32ef2509627c7561abb84a6f5ac09bf Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 3 Jun 2015 16:09:12 -0700 Subject: Kill unused IPDF_ classes. Some are simply never defined. Some are never instantiated. Some have paths that are never reached. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1168503003 --- core/include/fpdftext/fpdf_text.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'core/include/fpdftext') diff --git a/core/include/fpdftext/fpdf_text.h b/core/include/fpdftext/fpdf_text.h index 936e0f1722..d18a7692c6 100644 --- a/core/include/fpdftext/fpdf_text.h +++ b/core/include/fpdftext/fpdf_text.h @@ -12,6 +12,11 @@ #include "../fpdfapi/fpdf_parser.h" class CPDF_PageObjects; +class IPDF_LinkExtract; +class IPDF_ReflowedPage; +class IPDF_TextPage; +class IPDF_TextPageFind; + #define PDF2TXT_AUTO_ROTATE 1 #define PDF2TXT_AUTO_WIDTH 2 #define PDF2TXT_KEEP_COLUMN 4 @@ -24,9 +29,6 @@ void PDF_GetPageText_Unicode(CFX_WideStringArray& lines, CPDF_Document* pDoc, CP void PDF_GetTextStream_Unicode(CFX_WideTextBuf& buffer, CPDF_Document* pDoc, CPDF_Dictionary* pPage, FX_DWORD flags); CFX_WideString PDF_GetFirstTextLine_Unicode(CPDF_Document* pDoc, CPDF_Dictionary* pPage); -class IPDF_TextPage; -class IPDF_LinkExtract; -class IPDF_TextPageFind; #define CHAR_ERROR -1 #define CHAR_NORMAL 0 #define CHAR_GENERATED 1 @@ -50,7 +52,6 @@ typedef CFX_ArrayTemplate CFX_RectArray; #define FPDFTEXT_RIGHT 1 #define FPDFTEXT_UP -2 #define FPDFTEXT_DOWN 2 -class IPDF_ReflowedPage; #define FPDFTEXT_WRITINGMODE_UNKNOW 0 #define FPDFTEXT_WRITINGMODE_LRTB 1 #define FPDFTEXT_WRITINGMODE_RLTB 2 -- cgit v1.2.3