summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_eventdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_eventdata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_eventdata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_eventdata.cpp b/xfa/fxfa/parser/cxfa_eventdata.cpp
index 387b7328f0..b9b3c8c0c2 100644
--- a/xfa/fxfa/parser/cxfa_eventdata.cpp
+++ b/xfa/fxfa/parser/cxfa_eventdata.cpp
@@ -27,7 +27,7 @@ XFA_Element CXFA_EventData::GetEventType() const {
}
void CXFA_EventData::GetRef(WideString& wsRef) {
- m_pNode->JSNode()->TryCData(XFA_Attribute::Ref, wsRef, true);
+ wsRef = m_pNode->JSNode()->GetCData(XFA_Attribute::Ref);
}
CXFA_ScriptData CXFA_EventData::GetScriptData() const {
@@ -44,5 +44,5 @@ void CXFA_EventData::GetSignDataTarget(WideString& wsTarget) {
if (!pNode)
return;
- pNode->JSNode()->TryCData(XFA_Attribute::Target, wsTarget, true);
+ wsTarget = pNode->JSNode()->GetCData(XFA_Attribute::Target);
}