Resolves: fdo#72666 safe fix for 4-2

Change-Id: I355f8b0f660b158cf05576e9a5a8d5fe7643d259
Reviewed-on: https://gerrit.libreoffice.org/7268
Reviewed-by: Siqi LIU <me@siqi.fr>
Tested-by: Siqi LIU <me@siqi.fr>