summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
index c5858e3e66..4f2f2eeca6 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);