summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_scriptdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_scriptdata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_scriptdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_scriptdata.cpp b/xfa/fxfa/parser/cxfa_scriptdata.cpp
index ea957f94c5..f7352be79c 100644
--- a/xfa/fxfa/parser/cxfa_scriptdata.cpp
+++ b/xfa/fxfa/parser/cxfa_scriptdata.cpp
@@ -11,7 +11,7 @@
CXFA_ScriptData::CXFA_ScriptData(CXFA_Node* pNode) : CXFA_DataData(pNode) {}
XFA_ScriptDataType CXFA_ScriptData::GetContentType() {
- WideStringView cData;
+ WideString cData;
if (!m_pNode->JSNode()->TryCData(XFA_Attribute::ContentType, cData, false))
return XFA_ScriptDataType::Formcalc;
if (cData == L"application/x-javascript")