diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-07 12:39:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-07 12:39:44 -0700 |
commit | 8da140e8747920057a2f2bbcf5c78e40bb198733 (patch) | |
tree | e6500e1812669c52fb55abe818703f30183ba844 /fpdfsdk/pdfwindow/PWL_Utils.h | |
parent | 1596f0ae0a289da6f16ede1dd7e3fbcc55ef8b41 (diff) | |
download | pdfium-8da140e8747920057a2f2bbcf5c78e40bb198733.tar.xz |
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
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_Utils.h')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_Utils.h | 14 |
1 files changed, 0 insertions, 14 deletions
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, |