crashtesting: empty brace init of o3tl::enumarray doesn't zero each element
commitf6b48296968f8280c26e11b0129a88540f5236cf
authorCaolán McNamara <caolanm@redhat.com>
Fri, 26 Aug 2022 13:42:32 +0000 (26 14:42 +0100)
committerXisco Fauli <xiscofauli@libreoffice.org>
Fri, 26 Aug 2022 19:55:33 +0000 (26 21:55 +0200)
tree9aeb3a66239b00914afe69df6c4e549da2c89b63
parent0e12ed1c39531566d080c9fa1e27e9e2659addd2
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/+/138828
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
sw/source/core/text/porfld.cxx
sw/source/core/text/porfld.hxx