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

Unified Diff: xfa/src/fee/src/fee/fde_txtedtblock.cpp

Issue 1730553002: Fixing whitespace lint errors. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review fixes 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
« no previous file with comments | « xfa/src/fdp/src/tto/fde_textout.cpp ('k') | xfa/src/fee/src/fx_wordbreak/fx_wordbreakdata.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fee/src/fee/fde_txtedtblock.cpp
diff --git a/xfa/src/fee/src/fee/fde_txtedtblock.cpp b/xfa/src/fee/src/fee/fde_txtedtblock.cpp
index 99b23753cc8bed83cffb8b14d90605b4a23d9c99..9e61fcc969030580dcfb63888ace566adfdfea4f 100644
--- a/xfa/src/fee/src/fee/fde_txtedtblock.cpp
+++ b/xfa/src/fee/src/fee/fde_txtedtblock.cpp
@@ -42,8 +42,10 @@ CFDE_TxtEdtBlock::CFDE_TxtEdtBlock(CFDE_TxtEdtEngine* pEngine,
wsFix.Empty();
}
int32_t nPos = i - 1;
- while (lpBuf[i++] != L')')
- ;
+ while (lpBuf[i++] != L')') {
+ continue;
+ }
+
i++;
CFX_WideStringC wsField(lpBuf + nPos, i - nPos);
CFDE_TxtEdtField* pField = CFDE_TxtEdtField::Create(wsField, j, this);
« no previous file with comments | « xfa/src/fdp/src/tto/fde_textout.cpp ('k') | xfa/src/fee/src/fx_wordbreak/fx_wordbreakdata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698