diff options
author | tsepez <tsepez@chromium.org> | 2016-04-15 16:04:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-15 16:04:24 -0700 |
commit | 31e446374a7cf3f3353e42a03b6d5297e5cd60ec (patch) | |
tree | 4897c8f76e3ad9b4f6eff3097e752247e8b41047 /xfa/fxfa/app/xfa_ffdocview.cpp | |
parent | 2ba3dc72f73f8e6cdd0423d02a12528096c2d90a (diff) | |
download | pdfium-31e446374a7cf3f3353e42a03b6d5297e5cd60ec.tar.xz |
Avoid narrowing of strings in FWL SetEditText methods.
Review URL: https://codereview.chromium.org/1892813004
Diffstat (limited to 'xfa/fxfa/app/xfa_ffdocview.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_ffdocview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffdocview.cpp b/xfa/fxfa/app/xfa_ffdocview.cpp index 9bc1be0a04..986e265a45 100644 --- a/xfa/fxfa/app/xfa_ffdocview.cpp +++ b/xfa/fxfa/app/xfa_ffdocview.cpp @@ -256,7 +256,7 @@ int32_t CXFA_FFDocView::ProcessWidgetEvent(CXFA_EventParam* pParam, return XFA_EVENTERROR_Error; } if (pParam->m_eType == XFA_EVENT_Validate) { - CFX_WideString wsValidateStr = FX_WSTRC(L"preSubmit"); + CFX_WideString wsValidateStr(L"preSubmit"); CXFA_Node* pConfigItem = ToNode(m_pDoc->GetXFADoc()->GetXFAObject(XFA_HASHCODE_Config)); if (pConfigItem) { |