summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_formfillenvironment.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-04-27 19:31:48 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-27 19:31:48 +0000
commit2b053ce82e921984ee191b26fe9a760ba1508a66 (patch)
tree208b644713ee6341bc89f010f3798242bd08db61 /fpdfsdk/cpdfsdk_formfillenvironment.h
parent96723705bfa2f569d1b67541f08c8fbc86a18ec7 (diff)
downloadpdfium-2b053ce82e921984ee191b26fe9a760ba1508a66.tar.xz
Remove argument from CPDFSDK_FormFillEnvironment::GetCurrentPage
Small tidying. The form fill environment is 1:1 with documents, and already knows its underlying document. The callers all first obtain this from the FFE and then pass it back into it. Change-Id: I33835c1dc847ca67f2cc633c87af2f6e003ef58a Reviewed-on: https://pdfium-review.googlesource.com/31591 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.h')
-rw-r--r--fpdfsdk/cpdfsdk_formfillenvironment.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.h b/fpdfsdk/cpdfsdk_formfillenvironment.h
index eac9067730..697f51e79f 100644
--- a/fpdfsdk/cpdfsdk_formfillenvironment.h
+++ b/fpdfsdk/cpdfsdk_formfillenvironment.h
@@ -97,12 +97,11 @@ class CPDFSDK_FormFillEnvironment
void SetCursor(int nCursorType);
int SetTimer(int uElapse, TimerCallback lpTimerFunc);
void KillTimer(int nTimerID);
+
FX_SYSTEMTIME GetLocalTime() const;
+ FPDF_PAGE GetCurrentPage() const;
void OnChange();
-
- FPDF_PAGE GetCurrentPage(UnderlyingDocumentType* document);
-
void ExecuteNamedAction(const char* namedAction);
void OnSetFieldInputFocus(FPDF_WIDESTRING focusText,
FPDF_DWORD nTextLen,