summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_formfiller.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-09-19 13:36:09 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-19 17:48:51 +0000
commit2d510f7dc4d6c30cdecef09c5e68c47e98de6ffb (patch)
tree86d27d304c0edeb7cf1f4256cbe34be3eb6cb636 /fpdfsdk/formfiller/cffl_formfiller.cpp
parentb52b1b485f8997c460f59b115db68f05a99f0c7c (diff)
downloadpdfium-2d510f7dc4d6c30cdecef09c5e68c47e98de6ffb.tar.xz
Remove unused methods and field in CFFL_FormFiller.
Change-Id: Ice5ef31af6e32b6a02072e2a4445b19d4f801d3c Reviewed-on: https://pdfium-review.googlesource.com/14330 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/formfiller/cffl_formfiller.cpp')
-rw-r--r--fpdfsdk/formfiller/cffl_formfiller.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp
index 2c6138b92b..1ed7ffa420 100644
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp
@@ -46,17 +46,6 @@ void CFFL_FormFiller::DestroyWindows() {
m_Maps.clear();
}
-void CFFL_FormFiller::SetWindowRect(CPDFSDK_PageView* pPageView,
- const CFX_FloatRect& rcWindow) {
- if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false))
- pWnd->Move(CFX_FloatRect(rcWindow), true, false);
-}
-
-CFX_FloatRect CFFL_FormFiller::GetWindowRect(CPDFSDK_PageView* pPageView) {
- CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false);
- return pWnd ? pWnd->GetWindowRect() : CFX_FloatRect();
-}
-
FX_RECT CFFL_FormFiller::GetViewBBox(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot) {
ASSERT(pPageView);
@@ -160,9 +149,6 @@ bool CFFL_FormFiller::OnMouseMove(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot,
uint32_t nFlags,
const CFX_PointF& point) {
- if (m_ptOldPos != point)
- m_ptOldPos = point;
-
CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false);
if (!pWnd)
return false;