From 8da140e8747920057a2f2bbcf5c78e40bb198733 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 7 Apr 2016 12:39:44 -0700 Subject: Remove all PWL_Note classes The PWL_Note clasess are never instantiated, remove them and their implementation. PWL_Note was the only caller to enable spellcheck so this allows us to remove IPWL_SpellCheck and the conditionals for PES_SPELLCHECK. BUG=pdfium:468 Review URL: https://codereview.chromium.org/1869533003 --- fpdfsdk/pdfwindow/PWL_Utils.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'fpdfsdk/pdfwindow/PWL_Utils.h') diff --git a/fpdfsdk/pdfwindow/PWL_Utils.h b/fpdfsdk/pdfwindow/PWL_Utils.h index 76c3c478b7..cdef768cfa 100644 --- a/fpdfsdk/pdfwindow/PWL_Utils.h +++ b/fpdfsdk/pdfwindow/PWL_Utils.h @@ -100,8 +100,6 @@ class CPWL_PathData { PWL_PATHDATA_TYPE type; }; -class IPWL_SpellCheck; - class CPWL_Utils { public: static CFX_FloatRect InflateRect(const CFX_FloatRect& rcRect, FX_FLOAT fSize); @@ -177,11 +175,6 @@ class CPWL_Utils { IFX_Edit* pEdit, const CFX_FloatPoint& ptOffset, const CPVT_WordRange* pRange = NULL); - static CFX_ByteString GetSpellCheckAppStream( - IFX_Edit* pEdit, - IPWL_SpellCheck* pSpellCheck, - const CFX_FloatPoint& ptOffset, - const CPVT_WordRange* pRange = NULL); static CFX_ByteString GetTextAppStream(const CFX_FloatRect& rcBBox, IPVT_FontMap* pFontMap, const CFX_WideString& sText, @@ -235,13 +228,6 @@ class CPWL_Utils { int32_t nTransparancy, int32_t nStartGray, int32_t nEndGray); - static void DrawEditSpellCheck(CFX_RenderDevice* pDevice, - CFX_Matrix* pUser2Device, - IFX_Edit* pEdit, - const CFX_FloatRect& rcClip, - const CFX_FloatPoint& ptOffset, - const CPVT_WordRange* pRange, - IPWL_SpellCheck* pSpellCheck); public: static void ConvertCMYK2RGB(FX_FLOAT dC, -- cgit v1.2.3