diff options
author | Nicolas Pena <npm@chromium.org> | 2017-02-14 11:15:58 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-14 16:40:40 +0000 |
commit | 22da8c268d2228203b40a8c73a2d3f6c25fc9acc (patch) | |
tree | 65b402021e52efb64578a312e67627f4eba8f5c9 /fpdfsdk/pdfwindow | |
parent | dd40b8b802da1c068dab450b68c934be0358b6de (diff) | |
download | pdfium-22da8c268d2228203b40a8c73a2d3f6c25fc9acc.tar.xz |
Delete unused method CPWL_Edit::GeneratePageObjects
Change-Id: I114afbee411784118e81b4528ae740528c4aef2c
Reviewed-on: https://pdfium-review.googlesource.com/2693
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_Edit.cpp | 18 | ||||
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_Edit.h | 6 |
2 files changed, 0 insertions, 24 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_Edit.cpp b/fpdfsdk/pdfwindow/PWL_Edit.cpp index b9958a3128..bca9397047 100644 --- a/fpdfsdk/pdfwindow/PWL_Edit.cpp +++ b/fpdfsdk/pdfwindow/PWL_Edit.cpp @@ -874,21 +874,3 @@ CPVT_WordRange CPWL_Edit::GetSameWordsRange(const CPVT_WordPlace& place, range.Set(wpStart, wpEnd); return range; } - -void CPWL_Edit::GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, - const CFX_FloatPoint& ptOffset, - std::vector<CPDF_TextObject*>* ObjArray) { - CFX_Edit::GeneratePageObjects( - pObjectHolder, m_pEdit.get(), ptOffset, nullptr, - CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), - ObjArray); -} - -void CPWL_Edit::GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, - const CFX_FloatPoint& ptOffset) { - std::vector<CPDF_TextObject*> ObjArray; - CFX_Edit::GeneratePageObjects( - pObjectHolder, m_pEdit.get(), ptOffset, nullptr, - CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), - &ObjArray); -} diff --git a/fpdfsdk/pdfwindow/PWL_Edit.h b/fpdfsdk/pdfwindow/PWL_Edit.h index 801dedd0ac..e125ef78b0 100644 --- a/fpdfsdk/pdfwindow/PWL_Edit.h +++ b/fpdfsdk/pdfwindow/PWL_Edit.h @@ -105,12 +105,6 @@ class CPWL_Edit : public CPWL_EditCtrl { m_pFillerNotify = pNotify; } - void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, - const CFX_FloatPoint& ptOffset, - std::vector<CPDF_TextObject*>* ObjArray); - void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, - const CFX_FloatPoint& ptOffset); - bool IsProceedtoOnChar(uint16_t nKeyCode, uint32_t nFlag); void AttachFFLData(CFFL_FormFiller* pData) { m_pFormFiller = pData; } |