summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_fftextedit.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-01-05 11:06:55 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-05 16:36:57 +0000
commit2c0ca7ddbc38e33cc692b2be02c32419b97927e0 (patch)
treeff91c2bc992ec1a718e87f923e70e550f0555160 /xfa/fxfa/cxfa_fftextedit.cpp
parent1f04e6111013673880767e98834fa9bb649c7aac (diff)
downloadpdfium-2c0ca7ddbc38e33cc692b2be02c32419b97927e0.tar.xz
Convert GetSOMExpression methods to return WideString
Change-Id: I34eb40ff1c14e7b9362d4e52166243eacc6710da Reviewed-on: https://pdfium-review.googlesource.com/22270 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_fftextedit.cpp')
-rw-r--r--xfa/fxfa/cxfa_fftextedit.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_fftextedit.cpp b/xfa/fxfa/cxfa_fftextedit.cpp
index 6f782b34cc..b97b218894 100644
--- a/xfa/fxfa/cxfa_fftextedit.cpp
+++ b/xfa/fxfa/cxfa_fftextedit.cpp
@@ -200,9 +200,7 @@ void CXFA_FFTextEdit::ValidateNumberField(const WideString& wsText) {
if (!pAppProvider)
return;
- WideString wsSomField;
- pAcc->GetNode()->GetSOMExpression(wsSomField);
-
+ WideString wsSomField = pAcc->GetNode()->GetSOMExpression();
pAppProvider->MsgBox(WideString::Format(L"%ls can not contain %ls",
wsText.c_str(), wsSomField.c_str()),
pAppProvider->GetAppTitle(), XFA_MBICON_Error,