summaryrefslogtreecommitdiff
path: root/core/src/fpdftext/text_int.h
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2015-12-17 18:16:23 -0800
committerWei Li <weili@chromium.org>2015-12-17 18:16:23 -0800
commit60eac0f7cebd682e93eb5d8a0950f31856099081 (patch)
treef797cf457d0a4b8eb916373ee3afcb7d9ca73abe /core/src/fpdftext/text_int.h
parentc5d934dff4c2fa254b445dbf06899bb181df1c12 (diff)
downloadpdfium-60eac0f7cebd682e93eb5d8a0950f31856099081.tar.xz
Merge to XFA: Correctly extracting email addresses
An email address contains user name part and host name part. User name allows dash or underscore, but not leading/ending/double period. Host name doesn't allow leading/ending/double period either. BUG=489107 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1530763005 . (cherry picked from commit cc70b7b55c9edcd0ff038f59080699060fbbede1) Review URL: https://codereview.chromium.org/1532303002 .
Diffstat (limited to 'core/src/fpdftext/text_int.h')
-rw-r--r--core/src/fpdftext/text_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdftext/text_int.h b/core/src/fpdftext/text_int.h
index 4688bbf1ce..17d0b7e0f9 100644
--- a/core/src/fpdftext/text_int.h
+++ b/core/src/fpdftext/text_int.h
@@ -227,7 +227,7 @@ class CPDF_LinkExtract : public IPDF_LinkExtract {
void ParseLink();
void DeleteLinkList();
FX_BOOL CheckWebLink(CFX_WideString& strBeCheck);
- FX_BOOL CheckMailLink(CFX_WideString& str);
+ bool CheckMailLink(CFX_WideString& str);
void AppendToLinkList(int start, int count, const CFX_WideString& strUrl);
private: