diff options
author | tsepez <tsepez@chromium.org> | 2016-04-14 09:49:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-14 09:49:44 -0700 |
commit | 774bdde253b8394aa2ac791e273508ff006d813a (patch) | |
tree | f00993d262bfda76d129c14dc8a11053e019542f /xfa/fxfa/include/fxfa.h | |
parent | 725a49f7a64a3537c081cd23cf7d5d6578efdfa1 (diff) | |
download | pdfium-774bdde253b8394aa2ac791e273508ff006d813a.tar.xz |
Replace calls to deprecated CFX_{Wide,Byte}String::Empty()
Use the more standard name "clear()" instead.
Review URL: https://codereview.chromium.org/1888103002
Diffstat (limited to 'xfa/fxfa/include/fxfa.h')
-rw-r--r-- | xfa/fxfa/include/fxfa.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/xfa/fxfa/include/fxfa.h b/xfa/fxfa/include/fxfa.h index eb99e59110..1f2b00b4ec 100644 --- a/xfa/fxfa/include/fxfa.h +++ b/xfa/fxfa/include/fxfa.h @@ -150,7 +150,7 @@ class IXFA_AppProvider { virtual void GetAppType(CFX_WideString& wsAppType) = 0; virtual void SetFoxitAppType(const CFX_WideStringC& wsFoxitAppType) {} virtual void GetFoxitAppType(CFX_WideString& wsFoxitAppType) { - wsFoxitAppType.Empty(); + wsFoxitAppType.clear(); } /** @@ -174,7 +174,7 @@ class IXFA_AppProvider { */ virtual void GetVersion(CFX_WideString& wsVersion) = 0; virtual void GetFoxitVersion(CFX_WideString& wsFoxitVersion) { - wsFoxitVersion.Empty(); + wsFoxitVersion.clear(); } /** @@ -182,7 +182,7 @@ class IXFA_AppProvider { */ virtual void GetAppName(CFX_WideString& wsName) = 0; virtual void GetFoxitAppName(CFX_WideString& wsFoxitName) { - wsFoxitName.Empty(); + wsFoxitName.clear(); } /** @@ -436,25 +436,25 @@ class CXFA_EventParam { CXFA_EventParam() { m_pTarget = NULL; m_eType = XFA_EVENT_Unknown; - m_wsResult.Empty(); + m_wsResult.clear(); Reset(); } void Reset() { - m_wsChange.Empty(); + m_wsChange.clear(); m_iCommitKey = 0; - m_wsFullText.Empty(); + m_wsFullText.clear(); m_bKeyDown = FALSE; m_bModifier = FALSE; - m_wsNewContentType.Empty(); - m_wsNewText.Empty(); - m_wsPrevContentType.Empty(); - m_wsPrevText.Empty(); + m_wsNewContentType.clear(); + m_wsNewText.clear(); + m_wsPrevContentType.clear(); + m_wsPrevText.clear(); m_bReenter = FALSE; m_iSelEnd = 0; m_iSelStart = 0; m_bShift = FALSE; - m_wsSoapFaultCode.Empty(); - m_wsSoapFaultString.Empty(); + m_wsSoapFaultCode.clear(); + m_wsSoapFaultString.clear(); m_bIsFormReady = FALSE; m_iValidateActivities = XFA_VALIDATE_preSubmit; } |