summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-06 18:07:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-06 18:07:18 +0000
commit1ca11be3b7a36b16663da4816c575cf0ac06ee7f (patch)
treeec2864da9f2834d9bebd77dfb02ea06dadf4445b /core/fpdfapi/font
parent7f08348c98325eb303322142148440610b49fe86 (diff)
downloadpdfium-1ca11be3b7a36b16663da4816c575cf0ac06ee7f.tar.xz
Do more CPDF_Parser::LoadCrossRefV5() cleanup.
- Use range for-loop to avoid needing "i" and "j". - Avoid repeatedly calculating "startnum + j". - Reduce levels of nested ifs. - Remove variable that is only used once. Change-Id: I9d08cef1082812fcfaa2699f65720165c52ebcff Reviewed-on: https://pdfium-review.googlesource.com/39437 Reviewed-by: Art Snake <art-snake@yandex-team.ru> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/font')
0 files changed, 0 insertions, 0 deletions