Index: xfa/fxfa/parser/xfa_document_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_document_imp.cpp b/xfa/fxfa/parser/xfa_document_imp.cpp |
index bdcfba47cbcbcc0800f8e51635a5a099e11dbd32..39bdf2503c5bbc9ddbf58c312fab20242e83972c 100644 |
--- a/xfa/fxfa/parser/xfa_document_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_document_imp.cpp |
@@ -388,7 +388,7 @@ void CXFA_Document::DoProtoMerge() { |
!wsUseVal.IsEmpty()) { |
FX_STRSIZE uSharpPos = wsUseVal.Find('#'); |
if (uSharpPos < 0) { |
- wsURI = wsUseVal; |
+ wsURI = wsUseVal.AsStringC(); |
} else { |
wsURI = CFX_WideStringC(wsUseVal.c_str(), uSharpPos); |
FX_STRSIZE uLen = wsUseVal.GetLength(); |