summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdfsdk/fpdf_formfill.cpp4
-rw-r--r--public/fpdf_formfill.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/fpdf_formfill.cpp b/fpdfsdk/fpdf_formfill.cpp
index 1af34b552f..d529a5be69 100644
--- a/fpdfsdk/fpdf_formfill.cpp
+++ b/fpdfsdk/fpdf_formfill.cpp
@@ -360,8 +360,8 @@ FPDFDOC_ExitFormFillEnvironment(FPDF_FORMHANDLE hHandle) {
delete pFormFillEnv;
}
-FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FORM_SAVECALLED callback,
- FPDF_FORMHANDLE hHandle) {
+FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FPDF_FORMHANDLE hHandle,
+ FORM_SAVECALLED callback) {
CPDFSDK_FormFillEnvironment* pFormFillEnv =
HandleToCPDFSDKEnvironment(hHandle);
if (!pFormFillEnv)
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index 68ffcda56d..4a703d947a 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -1122,16 +1122,16 @@ typedef void (*FORM_SAVECALLED)(FPDF_FORMFILLINFO*);
* loaded a PDF page, and method FPDFDOC_InitFormFillEnvironment had
* been invoked.
* Parameters:
- * callback - Function pointer to the callback to be called when a
- * Save is attempted. If NULL then no function will be
- * invoked..
* hHandle - Handle to the form fill module. Returned by
* FPDFDOC_InitFormFillEnvironment.
+ * callback - Function pointer to the callback to be called when a
+ * Save is attempted. If NULL then no function will be
+ * invoked.
* Return Value:
* NONE.
**/
-FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FORM_SAVECALLED callback,
- FPDF_FORMHANDLE hHandle);
+FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FPDF_FORMHANDLE hHandle,
+ FORM_SAVECALLED callback);
/**
* Function: FORM_OnAfterLoadPage