fdo#79372, fdo#56392 fix hyphenation

Change-Id: Iacf84d023d3b4795892bc444299a29bfc663345e
Reviewed-on: https://gerrit.libreoffice.org/10001
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>