Index: xfa/fxfa/app/xfa_fftextedit.cpp |
diff --git a/xfa/fxfa/app/xfa_fftextedit.cpp b/xfa/fxfa/app/xfa_fftextedit.cpp |
index 982ee00896ee45cfc0b5cb4667997dbaed9225ad..3232dbdac2a5ef409907ad8e3802aae3a47587be 100644 |
--- a/xfa/fxfa/app/xfa_fftextedit.cpp |
+++ b/xfa/fxfa/app/xfa_fftextedit.cpp |
@@ -199,8 +199,7 @@ void CXFA_FFTextEdit::ValidateNumberField(const CFX_WideString& wsText) { |
pAppProvider->LoadString(XFA_IDS_ValidateNumberError, wsError); |
CFX_WideString wsSomField; |
pAcc->GetNode()->GetSOMExpression(wsSomField); |
- wsMessage.Format(wsError, (const FX_WCHAR*)wsText, |
- (const FX_WCHAR*)wsSomField); |
+ wsMessage.Format(wsError.c_str(), wsText.c_str(), wsSomField.c_str()); |
pAppProvider->MsgBox(wsMessage.AsStringC(), wsTitle.AsStringC(), |
XFA_MBICON_Error, XFA_MB_OK); |
} |