summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp4
-rw-r--r--fpdfsdk/pdfsdk_fieldaction.cpp1
-rw-r--r--fpdfsdk/pdfsdk_fieldaction.h1
3 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index d0eaa7adc8..1496beeb8e 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -240,7 +240,7 @@ bool CPDFSDK_Widget::OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT,
CXFA_EventParam param;
param.m_eType = eEventType;
param.m_wsChange = data->sChange;
- param.m_iCommitKey = data->nCommitKey;
+ param.m_iCommitKey = 0;
param.m_bShift = data->bShift;
param.m_iSelStart = data->nSelStart;
param.m_iSelEnd = data->nSelEnd;
@@ -845,7 +845,7 @@ bool CPDFSDK_Widget::OnAAction(CPDF_AAction::AActionType type,
CXFA_EventParam param;
param.m_eType = eEventType;
param.m_wsChange = data->sChange;
- param.m_iCommitKey = data->nCommitKey;
+ param.m_iCommitKey = 0;
param.m_bShift = data->bShift;
param.m_iSelStart = data->nSelStart;
param.m_iSelEnd = data->nSelEnd;
diff --git a/fpdfsdk/pdfsdk_fieldaction.cpp b/fpdfsdk/pdfsdk_fieldaction.cpp
index 61228ea82a..ecf01b7488 100644
--- a/fpdfsdk/pdfsdk_fieldaction.cpp
+++ b/fpdfsdk/pdfsdk_fieldaction.cpp
@@ -9,7 +9,6 @@
PDFSDK_FieldAction::PDFSDK_FieldAction()
: bModifier(false),
bShift(false),
- nCommitKey(0),
bKeyDown(false),
nSelEnd(0),
nSelStart(0),
diff --git a/fpdfsdk/pdfsdk_fieldaction.h b/fpdfsdk/pdfsdk_fieldaction.h
index aec5dcaa27..27049892a3 100644
--- a/fpdfsdk/pdfsdk_fieldaction.h
+++ b/fpdfsdk/pdfsdk_fieldaction.h
@@ -24,7 +24,6 @@ struct PDFSDK_FieldAction {
bool bModifier;
bool bShift;
- int nCommitKey;
WideString sChange;
WideString sChangeEx;
bool bKeyDown;