From 6b90e983a9e3e7aee0c637a7b0c3c51f0dfc1faf Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 11 Feb 2016 09:06:11 -0800 Subject: Remove unused NormalizeString() - NormalizeString() has 1 caller: - CTextBaseLine::WriteOutput(), which has only 1 caller: - CTextPage::WriteOutput(), which has only 1 caller: - PDF_GetPageText_Unicode(), which has only 1 caller: - PDF_GetPageText(), which has no callers. Removing this also makes CheckRotate(), NormalizeCompositeChar(), and CTextPage unused. Removing those makes CTextBaseline() unused. Removing that makes txtproc.h unused. PDF_GetTextStream_Unicode also unused. ... and so on until entire files can be removed. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1689843002 . --- core/src/fpdftext/text_int.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/src/fpdftext/text_int.h') diff --git a/core/src/fpdftext/text_int.h b/core/src/fpdftext/text_int.h index c420bc7702..93c22736ef 100644 --- a/core/src/fpdftext/text_int.h +++ b/core/src/fpdftext/text_int.h @@ -237,10 +237,5 @@ class CPDF_LinkExtract : public IPDF_LinkExtract { }; FX_STRSIZE FX_Unicode_GetNormalization(FX_WCHAR wch, FX_WCHAR* pDst); -void NormalizeString(CFX_WideString& str); -void NormalizeCompositeChar(FX_WCHAR wChar, CFX_WideString& sDest); -void GetTextStream_Unicode(CFX_WideTextBuf& buffer, - CPDF_PageObjectList* pPage, - FX_BOOL bUseLF); #endif // CORE_SRC_FPDFTEXT_TEXT_INT_H_ -- cgit v1.2.3