diff options
author | tsepez <tsepez@chromium.org> | 2016-05-13 17:21:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-13 17:21:31 -0700 |
commit | afe94306e3c542f0d499e7f7706ee5dec4028d8a (patch) | |
tree | 5012c9356cf1af259c74da3008dc7fcad439db2a /xfa/fxfa/parser/xfa_document_datadescription_imp.cpp | |
parent | 01e624fb699af3a8ee2f81620d59d366dac18f29 (diff) | |
download | pdfium-afe94306e3c542f0d499e7f7706ee5dec4028d8a.tar.xz |
Make CFX_WideString(const CFX_WideString&) explicit.
BUG=
Review-Url: https://codereview.chromium.org/1979723003
Diffstat (limited to 'xfa/fxfa/parser/xfa_document_datadescription_imp.cpp')
-rw-r--r-- | xfa/fxfa/parser/xfa_document_datadescription_imp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_document_datadescription_imp.cpp b/xfa/fxfa/parser/xfa_document_datadescription_imp.cpp index c988902b63..31cf4119ad 100644 --- a/xfa/fxfa/parser/xfa_document_datadescription_imp.cpp +++ b/xfa/fxfa/parser/xfa_document_datadescription_imp.cpp @@ -69,7 +69,7 @@ CXFA_Node* XFA_DataDescription_MaybeCreateDataNode( CXFA_Document* pDocument, CXFA_Node* pDataParent, XFA_ELEMENT eNodeType, - const CFX_WideStringC& wsName) { + const CFX_WideString& wsName) { if (!pDataParent) { return NULL; } @@ -98,7 +98,8 @@ CXFA_Node* XFA_DataDescription_MaybeCreateDataNode( continue; } } - CXFA_Node* pDDNode = pDDGroupNode->GetFirstChildByName(wsName); + CXFA_Node* pDDNode = + pDDGroupNode->GetFirstChildByName(wsName.AsStringC()); if (!pDDNode) { continue; } |