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

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: 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: 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..6a9d62e2cb97a7dfe6287f9afbd952ef07d6bde8 100644
--- a/xfa/src/fee/src/fee/fde_txtedtblock.cpp
+++ b/xfa/src/fee/src/fee/fde_txtedtblock.cpp
@@ -42,8 +42,9 @@ CFDE_TxtEdtBlock::CFDE_TxtEdtBlock(CFDE_TxtEdtEngine* pEngine,
wsFix.Empty();
}
int32_t nPos = i - 1;
- while (lpBuf[i++] != L')')
- ;
+ while (lpBuf[i++] != L')') {
+ }
+
i++;
CFX_WideStringC wsField(lpBuf + nPos, i - nPos);
CFDE_TxtEdtField* pField = CFDE_TxtEdtField::Create(wsField, j, this);

Powered by Google App Engine
This is Rietveld 408576698