summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_fffield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_fffield.cpp')
-rw-r--r--xfa/fxfa/cxfa_fffield.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/xfa/fxfa/cxfa_fffield.cpp b/xfa/fxfa/cxfa_fffield.cpp
index 6f7aab899f..f3c1412361 100644
--- a/xfa/fxfa/cxfa_fffield.cpp
+++ b/xfa/fxfa/cxfa_fffield.cpp
@@ -613,14 +613,13 @@ bool CXFA_FFField::ProcessCommittedData() {
return false;
if (!IsDataChanged())
return false;
- if (CalculateOverride() != 1)
- return false;
- if (!CommitData())
- return false;
m_pDocView->SetChangeMark();
m_pDocView->AddValidateNode(m_pNode.Get());
- return true;
+
+ if (CalculateOverride() != 1)
+ return false;
+ return CommitData();
}
int32_t CXFA_FFField::CalculateOverride() {