summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_widgetacc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_widgetacc.cpp')
-rw-r--r--xfa/fxfa/cxfa_widgetacc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp
index 644b1688c0..683c8a2619 100644
--- a/xfa/fxfa/cxfa_widgetacc.cpp
+++ b/xfa/fxfa/cxfa_widgetacc.cpp
@@ -197,7 +197,7 @@ void CXFA_WidgetAcc::ResetData() {
if (wsValue.IsEmpty()) {
CXFA_ValueData defValueData = pAcc->GetDefaultValueData();
if (defValueData.HasValidNode()) {
- defValueData.GetChildValueContent(wsValue);
+ wsValue = defValueData.GetChildValueContent();
SetValue(wsValue, XFA_VALUEPICTURE_Raw);
pAcc->SetValue(wsValue, XFA_VALUEPICTURE_Raw);
done = true;
@@ -227,7 +227,7 @@ void CXFA_WidgetAcc::ResetData() {
default: {
CXFA_ValueData defValueData = GetDefaultValueData();
if (defValueData.HasValidNode())
- defValueData.GetChildValueContent(wsValue);
+ wsValue = defValueData.GetChildValueContent();
SetValue(wsValue, XFA_VALUEPICTURE_Raw);
break;