summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font/fpdf_font.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-05 14:31:12 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-05 22:09:54 +0000
commitab20404199d3897f753861413014be28d259a6cc (patch)
tree8a6701159298db3cbe4391d0ec12677478e2a215 /core/fpdfapi/fpdf_font/fpdf_font.cpp
parent60cc3baa05136bccf5d77e0b2cf3000817915bcd (diff)
downloadpdfium-chromium/3093.tar.xz
Split out CPDF_CMap::m_pLeading into separate members.chromium/3093chromium/3092
Avoid casting willy-nill over uint8_t*s, since there's at least one place where the wrong cast could be applied. Use std::vector<> as well. Use ByteRange struct to avoid the seg[i * 2 + 1] anti-pattern. Change-Id: I9278ccc3a545b2640f0daf101a0c8b1d5c5564f8 Reviewed-on: https://pdfium-review.googlesource.com/5012 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/fpdf_font/fpdf_font.cpp')
0 files changed, 0 insertions, 0 deletions