summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_image.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_image.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_image.cpp b/xfa/fxfa/parser/cxfa_image.cpp
index b0afca0d68..08a10884f4 100644
--- a/xfa/fxfa/parser/cxfa_image.cpp
+++ b/xfa/fxfa/parser/cxfa_image.cpp
@@ -37,12 +37,14 @@ bool CXFA_Image::GetContent(WideString& wsText) {
}
bool CXFA_Image::SetContentType(const WideString& wsContentType) {
- return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_ContentType, wsContentType);
+ return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_ContentType, wsContentType,
+ false, false);
}
bool CXFA_Image::SetHref(const WideString& wsHref) {
if (m_bDefValue)
- return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Href, wsHref);
+ return m_pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Href, wsHref, false,
+ false);
return m_pNode->JSNode()->SetAttribute(XFA_ATTRIBUTE_Href,
wsHref.AsStringView(), false);
}