diff options
Diffstat (limited to 'core/fpdftext/cpdf_textpagefind.h')
-rw-r--r-- | core/fpdftext/cpdf_textpagefind.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/fpdftext/cpdf_textpagefind.h b/core/fpdftext/cpdf_textpagefind.h index dd7a31eba9..f7419cf14f 100644 --- a/core/fpdftext/cpdf_textpagefind.h +++ b/core/fpdftext/cpdf_textpagefind.h @@ -35,10 +35,9 @@ class CPDF_TextPageFind { bool IsMatchWholeWord(const WideString& csPageText, size_t startPos, size_t endPos); - bool ExtractSubString(WideString& rString, - const wchar_t* lpszFullString, - int iSubString, - wchar_t chSep); + Optional<WideString> ExtractSubString(const wchar_t* lpszFullString, + int iSubString, + wchar_t chSep); int GetCharIndex(int index) const; private: |