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.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_eventdata.cpp b/xfa/fxfa/parser/cxfa_eventdata.cpp
index 0210fdc5f4..387b7328f0 100644
--- a/xfa/fxfa/parser/cxfa_eventdata.cpp
+++ b/xfa/fxfa/parser/cxfa_eventdata.cpp
@@ -26,7 +26,7 @@ XFA_Element CXFA_EventData::GetEventType() const {
return XFA_Element::Unknown;
}
-void CXFA_EventData::GetRef(WideStringView& wsRef) {
+void CXFA_EventData::GetRef(WideString& wsRef) {
m_pNode->JSNode()->TryCData(XFA_Attribute::Ref, wsRef, true);
}
@@ -44,7 +44,5 @@ void CXFA_EventData::GetSignDataTarget(WideString& wsTarget) {
if (!pNode)
return;
- WideStringView wsCData;
- pNode->JSNode()->TryCData(XFA_Attribute::Target, wsCData, true);
- wsTarget = wsCData;
+ pNode->JSNode()->TryCData(XFA_Attribute::Target, wsTarget, true);
}