diff options
author | Lei Zhang <thestig@chromium.org> | 2018-02-09 21:58:59 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-09 21:58:59 +0000 |
commit | 2404eba504ac36ce2bfd2f7d6092f9e3898de9b0 (patch) | |
tree | f774e5ab5903e189a81d4ee4c698249d6f707d8b /fpdfsdk/fpdfxfa | |
parent | 107fa7b06773a2b3e83fc360125d54105574f9bf (diff) | |
download | pdfium-2404eba504ac36ce2bfd2f7d6092f9e3898de9b0.tar.xz |
Fix nits in ParsePageRangeString().
- Fix typos.
- Do not pass by value.
- Return early if the page range string is empty after removing spaces.
- Simplify and rearrange bits of the implementation.
Change-Id: Ia4c4f43c2ca18383ad1edc8233969a7013e34722
Reviewed-on: https://pdfium-review.googlesource.com/24290
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Shirleen Lou <xlou@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfxfa')
0 files changed, 0 insertions, 0 deletions