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 /fpdfsdk/pdfwindow | |
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 'fpdfsdk/pdfwindow')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_Edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_Edit.cpp b/fpdfsdk/pdfwindow/PWL_Edit.cpp index f75aa53a54..620838185e 100644 --- a/fpdfsdk/pdfwindow/PWL_Edit.cpp +++ b/fpdfsdk/pdfwindow/PWL_Edit.cpp @@ -46,7 +46,7 @@ void CPWL_Edit::SetText(const FX_WCHAR* csText) { int32_t nCount = pXML->CountChildren(); FX_BOOL bFirst = TRUE; - swText.Empty(); + swText.clear(); for (int32_t i = 0; i < nCount; i++) { if (CXML_Element* pSubElement = pXML->GetElement(i)) { |