diff options
author | tsepez <tsepez@chromium.org> | 2016-05-11 17:35:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-11 17:35:35 -0700 |
commit | f7fe678a4ada859a2e4fbbeeb0b1dff5b5887227 (patch) | |
tree | 271f61e203bcb7026db6b4936668f51f7f5e0de8 /core/fpdftext/fpdf_text_int.cpp | |
parent | 94dfd56acc7ceb2acfc2e5c7ae516e34b160ea15 (diff) | |
download | pdfium-f7fe678a4ada859a2e4fbbeeb0b1dff5b5887227.tar.xz |
Add much-needed Find() method for CFX_*StringC
BUG=pdfium:493
Review-Url: https://codereview.chromium.org/1968233002
Diffstat (limited to 'core/fpdftext/fpdf_text_int.cpp')
-rw-r--r-- | core/fpdftext/fpdf_text_int.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdftext/fpdf_text_int.cpp b/core/fpdftext/fpdf_text_int.cpp index 8e5e75853e..f843da3061 100644 --- a/core/fpdftext/fpdf_text_int.cpp +++ b/core/fpdftext/fpdf_text_int.cpp @@ -2147,7 +2147,7 @@ FX_BOOL CPDF_TextPageFind::ExtractSubString(CFX_WideString& rString, return FALSE; } while (iSubString--) { - lpszFullString = FXSYS_wcschr(lpszFullString, chSep); + lpszFullString = wcschr(lpszFullString, chSep); if (!lpszFullString) { rString.clear(); return FALSE; @@ -2157,7 +2157,7 @@ FX_BOOL CPDF_TextPageFind::ExtractSubString(CFX_WideString& rString, lpszFullString++; } } - const FX_WCHAR* lpchEnd = FXSYS_wcschr(lpszFullString, chSep); + const FX_WCHAR* lpchEnd = wcschr(lpszFullString, chSep); int nLen = lpchEnd ? (int)(lpchEnd - lpszFullString) : (int)FXSYS_wcslen(lpszFullString); ASSERT(nLen >= 0); |