diff options
author | Daniel Hosseinian <dhoss@chromium.org> | 2020-01-28 19:30:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2020-01-28 19:30:22 +0000 |
commit | 90f68856f14fc641fa884eca72c0b52a1e723845 (patch) | |
tree | 6b74ea24852c71f9c89f05085b1b5b4271feacea /core/fpdftext/cpdf_linkextract.cpp | |
parent | a666b004e9c6d1038447007373c2949ad6129aa2 (diff) | |
download | pdfium-90f68856f14fc641fa884eca72c0b52a1e723845.tar.gz |
Rename First() and Last() {Byte,Wide}String{,View} classes
Change to Front() and Back() to have the names be more consistent with
those of STL containers. Prevent an overload when Left() and Right()
are renamed to First() and Last().
Bug: pdfium:1406
Change-Id: I2cb59501c0d48bf8a5c41a32dc5f09431fd142eb
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/65631
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_linkextract.cpp')
-rw-r--r-- | core/fpdftext/cpdf_linkextract.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdftext/cpdf_linkextract.cpp b/core/fpdftext/cpdf_linkextract.cpp index 3a1e31fde..001ff1d11 100644 --- a/core/fpdftext/cpdf_linkextract.cpp +++ b/core/fpdftext/cpdf_linkextract.cpp @@ -152,7 +152,7 @@ void CPDF_LinkExtract::ExtractLinks() { if (strBeCheck.GetLength() > 5) { while (strBeCheck.GetLength() > 0) { - wchar_t ch = strBeCheck.Last(); + wchar_t ch = strBeCheck.Back(); if (ch != L')' && ch != L',' && ch != L'>' && ch != L'.') break; |