summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_fffield.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-20 21:17:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-20 21:17:43 +0000
commit89453e92d5d0b7aaf9e0c3890a90a21adc94a0ce (patch)
tree6a140e4f2b67474127dd9c9b7d2a008c9832306d /xfa/fxfa/cxfa_fffield.cpp
parent1699413c207c228ae7eae3d47e89adacc1146d65 (diff)
downloadpdfium-89453e92d5d0b7aaf9e0c3890a90a21adc94a0ce.tar.xz
Convert CXFA_CalculateData::GetMessageText to return WideString
Change-Id: I2ae79c6e77fe2717519156af15cd6cbdd19b58f1 Reviewed-on: https://pdfium-review.googlesource.com/18813 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_fffield.cpp')
-rw-r--r--xfa/fxfa/cxfa_fffield.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_fffield.cpp b/xfa/fxfa/cxfa_fffield.cpp
index 9758eb76dc..e2f7b6a2f2 100644
--- a/xfa/fxfa/cxfa_fffield.cpp
+++ b/xfa/fxfa/cxfa_fffield.cpp
@@ -701,8 +701,7 @@ int32_t CXFA_FFField::CalculateWidgetAcc(CXFA_WidgetAcc* pAcc) {
if (!pAppProvider)
return 0;
- WideString wsMessage;
- calcData.GetMessageText(wsMessage);
+ WideString wsMessage = calcData.GetMessageText();
if (!wsMessage.IsEmpty())
wsMessage += L"\r\n";