diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2021-07-28 19:40:59 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2021-08-01 10:50:32 +0300 |
commit | 9f092c1077db4d3c9bab57f5f4b74d906ecddb7d (patch) | |
tree | 0484de8ebe507dab863086ba8e25cb2c49dbbb7c /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/xmltest/valid/sa/105.xml | |
parent | 21f3ff65b8df777b5726a68b09bbee39f1a893ec (diff) |
QIODevice: rework validation policy for read() functions
- avoid calls to private and virtual functions, if the device is not
open;
- avoid repetitive checks in loops;
- add missing checks in readLine() overloads;
- remove check against unsuccessful resize().
Change-Id: I973d5931163b25db1c09c7c3b66f29ea90bb1b29
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/xmltest/valid/sa/105.xml')
0 files changed, 0 insertions, 0 deletions