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 c5858e3e664264ea63de9d0ec2055a8e8851d985..4f2f2eeca60f8a43912f6a32657853d7bb13e379 100644 |
--- a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp |
+++ b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp |
@@ -68,15 +68,14 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Sign( |
} |
if (iLength >= 2) { |
CFX_ByteString bsExpression = pArguments->GetUTF8String(1); |
- wsExpression = CFX_WideString::FromUTF8(bsExpression.AsByteStringC()); |
+ wsExpression = CFX_WideString::FromUTF8(bsExpression.AsStringC()); |
} |
if (iLength >= 3) { |
CFX_ByteString bsXMLIdent = pArguments->GetUTF8String(2); |
- wsXMLIdent = CFX_WideString::FromUTF8(bsXMLIdent.AsByteStringC()); |
+ wsXMLIdent = CFX_WideString::FromUTF8(bsXMLIdent.AsStringC()); |
} |
- FX_BOOL bSign = pNotify->GetDocProvider()->Sign(hDoc, pNodeList, |
- wsExpression.AsWideStringC(), |
- wsXMLIdent.AsWideStringC()); |
+ FX_BOOL bSign = pNotify->GetDocProvider()->Sign( |
+ hDoc, pNodeList, wsExpression.AsStringC(), wsXMLIdent.AsStringC()); |
FXJSE_HVALUE hValue = pArguments->GetReturnValue(); |
if (hValue) { |
FXJSE_Value_SetBoolean(hValue, bSign); |