Index: xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp |
diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp |
index f460cf764b45c00a768e54f3379b187997c53269..c5858e3e664264ea63de9d0ec2055a8e8851d985 100644 |
--- a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp |
+++ b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp |
@@ -68,12 +68,11 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Sign( |
} |
if (iLength >= 2) { |
CFX_ByteString bsExpression = pArguments->GetUTF8String(1); |
- wsExpression = |
- CFX_WideString::FromUTF8(bsExpression, bsExpression.GetLength()); |
+ wsExpression = CFX_WideString::FromUTF8(bsExpression.AsByteStringC()); |
} |
if (iLength >= 3) { |
CFX_ByteString bsXMLIdent = pArguments->GetUTF8String(2); |
- wsXMLIdent = CFX_WideString::FromUTF8(bsXMLIdent, bsXMLIdent.GetLength()); |
+ wsXMLIdent = CFX_WideString::FromUTF8(bsXMLIdent.AsByteStringC()); |
} |
FX_BOOL bSign = pNotify->GetDocProvider()->Sign(hDoc, pNodeList, |
wsExpression.AsWideStringC(), |