summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qstatictext_p.h
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2014-11-05 12:38:02 +0200
committerAlex Trotsenko <alex1973tr@gmail.com>2014-12-13 09:37:26 +0100
commit5c5e4582d60ce38868e838bced73f52febec5841 (patch)
treea91849cbd0fb435a27e980f788f6f08e450f5434 /src/gui/text/qstatictext_p.h
parent14d1097f4577edab86c67090d5c20853f404d0ce (diff)
QTextStreamPrivate::scan(): remove unnecessary checks
The delimiter search scan() loop detects a device or string reaching the end of input and size limits. After that, 'false' is returned only when no data was read at all. So, there is no a reason to test anything except 'totalSize'. Change-Id: Ib9cc21c0f4b7863c2dafb1bb074c5cda07387b8f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/text/qstatictext_p.h')
0 files changed, 0 insertions, 0 deletions