crashtesting: empty brace init of o3tl::enumarray doesn't zero each element
commit5c0ac89bfe0e412fa335b562e63e380f0be14cd9
authorCaolán McNamara <caolanm@redhat.com>
Fri, 26 Aug 2022 13:42:32 +0000 (26 14:42 +0100)
committerCaolán McNamara <caolanm@redhat.com>
Fri, 26 Aug 2022 16:11:30 +0000 (26 18:11 +0200)
tree2c67e914d3309c9e8b7c4c781fd25e311e13a56f
parent9a9cd0104c5d60f156b974f0c297088c20ba9c5e
crashtesting: empty brace init of o3tl::enumarray doesn't zero each element

so the stretch used to layout fdo66401-6.docx is random, leading to
sometimes too much stretch for cairo/freetype to handle and the
conversion crashes. A problem since:

commit d51db77c8d87f210785a8a8c6dd875f7bacddb3c
Date:   Tue Oct 15 01:57:12 2019 +0300

    Remove some memset calls

    Replace them with default initialization or calloc

Change-Id: I49408eee6c7e36bd9c98cbb10c7f95a57c0f7a11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138876
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
sw/source/core/text/porfld.cxx
sw/source/core/text/porfld.hxx