Index: xfa/fxfa/parser/cxfa_image.cpp |
diff --git a/xfa/fxfa/parser/cxfa_image.cpp b/xfa/fxfa/parser/cxfa_image.cpp |
index c54a580b8099de8f9b937312998e921a1321ff30..bcc7466dce22594e6f0c6c9f4cd356366faf198f 100644 |
--- a/xfa/fxfa/parser/cxfa_image.cpp |
+++ b/xfa/fxfa/parser/cxfa_image.cpp |
@@ -42,7 +42,7 @@ FX_BOOL CXFA_Image::SetContentType(const CFX_WideString& wsContentType) { |
FX_BOOL CXFA_Image::SetHref(const CFX_WideString& wsHref) { |
if (m_bDefValue) |
return m_pNode->SetCData(XFA_ATTRIBUTE_Href, wsHref); |
- return m_pNode->SetAttribute(XFA_ATTRIBUTE_Href, wsHref.AsWideStringC()); |
+ return m_pNode->SetAttribute(XFA_ATTRIBUTE_Href, wsHref.AsStringC()); |
} |
FX_BOOL CXFA_Image::SetTransferEncoding(int32_t iTransferEncoding) { |