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.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_image.cpp b/xfa/fxfa/parser/cxfa_image.cpp
index 8a346e0f42..b0afca0d68 100644
--- a/xfa/fxfa/parser/cxfa_image.cpp
+++ b/xfa/fxfa/parser/cxfa_image.cpp
@@ -16,12 +16,13 @@ int32_t CXFA_Image::GetAspect() {
}
bool CXFA_Image::GetContentType(WideString& wsContentType) {
- return m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_ContentType, wsContentType);
+ return m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_ContentType, wsContentType,
+ true);
}
bool CXFA_Image::GetHref(WideString& wsHref) {
if (m_bDefValue)
- return m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Href, wsHref);
+ return m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Href, wsHref, true);
return m_pNode->JSNode()->GetAttribute(L"href", wsHref, true);
}