diff options
author | Andy Shaw <andy.shaw@qt.io> | 2016-05-24 06:50:59 +0200 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2016-05-25 09:56:48 +0000 |
commit | 84ab88ce416fe5bb616ff64d26e5282e86f54cd8 (patch) | |
tree | 3586b5517a5cccbafff6e72348123fc88f87922c /config.tests/win | |
parent | cd25866f6533923c208f52d58516f3725f69cefb (diff) |
QWindowsPrintDevice: Handle return value of DocumentProperties correctly
If the return value is less than 0 which signifies an error then trying
to malloc that will cause an exception.
Change-Id: Ia0153d4cb7aac1dacb509280b45be149a093b7c4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'config.tests/win')
0 files changed, 0 insertions, 0 deletions