summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdftext.cpp
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-21 10:33:56 -0700
committerWei Li <weili@chromium.org>2016-03-21 10:33:56 -0700
commit34fa8d90ae2f60fae219e4dbeff14c053d2e8eef (patch)
treed4bfa0c0e579565d9775407c01fceaf24de47e69 /fpdfsdk/fpdftext.cpp
parent238bfb785e64379c05e3e5b2648ace6cf95861be (diff)
downloadpdfium-34fa8d90ae2f60fae219e4dbeff14c053d2e8eef.tar.xz
Handle empty objects in IsSameTextObject() and free from warning
When both text objects have no items, directly return TRUE; The last if statement moved inside loop to make the intent more obvious and free from warning (msvc warns using potentially uninitialized var itemPer) R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/1815453002 .
Diffstat (limited to 'fpdfsdk/fpdftext.cpp')
0 files changed, 0 insertions, 0 deletions