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

Issue 2000073003: Clean up more XFA code which causes warnings (Closed)

Created:
4 years, 7 months ago by Wei Li
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang, Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Clean up more XFA code which causes warnings This is part of efforts to bring XFA to chromium_code standard. Most of them will have behavior change. The details of these problems are: xfa/fgas/layout/fgas_rtfbreak.cpp: Wrong condition with misused variable xfa/fgas/localization/fgas_locale.cpp Unnecessary condition xfa/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp xfa/fxfa/app/xfa_fffield.cpp Unreachable code should be the correct code xfa/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp xfa/fxbarcode/qrcode/BC_QRDetector.cpp Wrong condition logic BUG=pdfium:29 Committed: https://pdfium.googlesource.com/pdfium/+/524fa626d71efeb2164c82d565f17f077035b7df

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -19 lines) Patch
M xfa/fgas/layout/fgas_rtfbreak.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fgas/localization/fgas_locale.cpp View 1 chunk +1 line, -2 lines 2 comments Download
M xfa/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp View 2 chunks +5 lines, -7 lines 1 comment Download
M xfa/fxbarcode/qrcode/BC_QRDetector.cpp View 2 chunks +8 lines, -6 lines 0 comments Download
M xfa/fxfa/app/xfa_fffield.cpp View 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 11 (6 generated)
Wei Li
for review, thanks
4 years, 7 months ago (2016-05-23 16:33:54 UTC) #5
Tom Sepez
lgtm https://codereview.chromium.org/2000073003/diff/1/xfa/fgas/localization/fgas_locale.cpp File xfa/fgas/localization/fgas_locale.cpp (right): https://codereview.chromium.org/2000073003/diff/1/xfa/fgas/localization/fgas_locale.cpp#newcode3658 xfa/fgas/localization/fgas_locale.cpp:3658: if (cc < cc_start + 3) wow ...
4 years, 7 months ago (2016-05-23 16:57:54 UTC) #6
Wei Li
thanks for the review https://codereview.chromium.org/2000073003/diff/1/xfa/fgas/localization/fgas_locale.cpp File xfa/fgas/localization/fgas_locale.cpp (right): https://codereview.chromium.org/2000073003/diff/1/xfa/fgas/localization/fgas_locale.cpp#newcode3658 xfa/fgas/localization/fgas_locale.cpp:3658: if (cc < cc_start + ...
4 years, 7 months ago (2016-05-23 17:10:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000073003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000073003/1
4 years, 7 months ago (2016-05-23 17:11:39 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-23 17:38:11 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/524fa626d71efeb2164c82d565f17f077035...

Powered by Google App Engine
This is Rietveld 408576698