Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp

Issue 1747123002: Fix and enable lint checks. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
index f9bf1705546281d54288bce44407398469883306..4e0c3f7ffc057d323cb4d72710025233f81d515a 100644
--- a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
+++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
@@ -1046,9 +1046,9 @@ FX_BOOL CPDFXFA_Document::_MailToInfo(CFX_WideString& csURL,
CFX_WideString tmp;
if (pos == -1) {
pos = srcURL.Find(L'@', 0);
- if (pos == -1)
+ if (pos == -1) {
return FALSE;
- else {
+ } else {
Tom Sepez 2016/03/01 17:38:06 else after return not needed.
dsinclair 2016/03/01 18:11:51 Done.
tmp = srcURL.Right(csURL.GetLength() - 7);
tmp.TrimLeft();
tmp.TrimRight();

Powered by Google App Engine
This is Rietveld 408576698